enable execution of powershell scripts windows 10 code example Example: powershell enable scripts Set-ExecutionPolicy unrestricted