how to enable running scripts windows 10 code example
Example 1: powershell enable scripts
Set-ExecutionPolicy unrestricted
Example 2: how to enable running scripts on windows 10
set-executionpolicy remotesigned
Set-ExecutionPolicy unrestricted
set-executionpolicy remotesigned