Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Which Execution policy do you recommend?

$
0
0

I work in a fortune 500 and the server admin's want to lock down everything. Powershell is currently configured to be restricted. Should I push to configure PS to be unrestricted or just leave it restricted and execute the unrestricted command every time I start PS? 

 

PS E:\pshell> set-executionpolicy -scope currentuser -executionpolicy unrestricted

 

Execution Policy Change

The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose

you to the security risks described in the about_Execution_Policies help topic. Do you want to change the execution

policy?

Yes Yes  No No  Sleep Suspend  [?] Help (default is "Y"): y

PS E:\pshell> dir


Viewing all articles
Browse latest Browse all 6937

Trending Articles