-1

enter image description here

<i have tried removing the restriction but at the end powershell isnt acceptiong Y as a command its showing error [y] its repeating the same statement >

Karthik
  • 1
  • 1
  • Hello @Karthik and welcome. It would be helpful to include an exact repeatable example of the commands you ran that produced the results you mentioned. Also include a copy of the exact error received. Based on what you wrote the problem sounds like you were not running PowerShell as an Administrator. TO do this right click on the link to PowerShell and select Run as Administrator then try your command again. Cheers – John Chalker Apr 02 '21 at 06:24

1 Answers1

0

1.Run the powershell as administrator.

2.Run following command

Set-ExecutionPolicy Unrestricted

Neeleshwar Kumar
  • 335
  • 3
  • 13