Microsoft

Launch powershell.exe as an administrator and navigate to the script folder. Run the Set-ExecutionPolicy cmdlet appropriately to allow running scripts. Example: Set-ExecutionPolicy Unrestricted Verify that the command succeeded (no red lines appear). If it doesn’t you probably didn’t run the powershell shell as an administrator. ................
................