This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Set-ExecutionPolicy AllSigned -Scope CurrentUser -Force | |
| # -ExecutionPolicy - Specifies the execution policy. If there are no Group Policies and each scope's execution policy is set to Undefined, then Restricted becomes the effective policy for all users. | |
| ## AllSigned - Requires that all scripts and configuration files are signed by a trusted publisher, including scripts written on the local computer. | |
| # -Scope - Specifies the scope that is affected by an execution policy. The default scope is LocalMachine. | |
| ## CurrentUser - Affects only the current user. | |
| # -Force - Suppresses all the confirmation prompts. Use caution with this parameter to avoid unexpected results. |
NewerOlder