ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at code example
Example 1: \Activate.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Example 2: tsc.ps1 cannot be loaded because running scripts is disabled on this system
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Example 3: loaded because running scripts is disabled on this s
PS C:\> Set-ExecutionPolicy RemoteSigned
Example 4: cannot be loaded because running scripts is disabled on this system
Set-ExecutionPolicy RemoteSigned
Example 5: ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at
# Unrestricted script policy on the current OS user
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted