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
No
Suspend [?] Help (default is "Y"): y
PS E:\pshell> dir