You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you start PowerShell on a computer for the first time, the Restricted execution policy (the default) is likely to be in effect. You may not be able to run PowerShell scripts downloaded from Internet.
If you are using PowerShell ISE or Visual Studio Code, you need to run as administrator to change Policy.
You may be able pin PowerShell IDE to taskbar, then Shift + right-click to Run with Elevated Rights. Run below one of the below scripts to change Policy: