running scripts is disabled on this system powershell windows 10 code example
Example 1: powershell enable scripts
Set-ExecutionPolicy unrestricted
Example 2: cannot be loaded because running scripts is disabled on this system
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Example 3: running scripts is disabled on this system
PS C:\> Set-ExecutionPolicy RemoteSigned
Example 4: cannot be loaded because running scripts is disabled on this system
Set-ExecutionPolicy RemoteSigned