Error While Running the Script In Power shell
Cause: The execution policy is
determined by execution policies that you set by using Set-ExecutionPolicy and the Group Policy settings for the
Windows PowerShell execution policy. The default
value is
"Restricted."
Resolution: Run the below command to Run\Execute the command in power
shell.
This command gets the
current execution policy for the computer.
· Get-ExecutionPolicy
These commands set a new user
preference for the execution policy and then display the effective execution
policy
· Set-ExecutionPolicy RemoteSigned
No comments:
Post a Comment
Your feedback is Much Appreciated. I will try to reply to your queries as soon as possible!!Anil Avula