how to enable powershell scipts
To enable scripting support so that your scripts will run, read on: 1. Open PowerShell (if you are running PowerShell on Windows Vista, right-click your PowerShell icon and select Run as administrator. If you donât do this, you will not be able to enable script support).2. Check the current script execution policy by using the Get-ExecutionPolicy cmdlet.To do this, input Get-ExecutionPolicy and press Enter on your keyboard.PowerShell will return a value of Restricted. 3. To change the script execution policy, use the Set-ExecutionPolicy cmdlet. Input Set-ExecutionPolicy unrestricted and press Enter on your keyboard.f you donât do this, you will not be able to enable script support). 2. Check the current script execution policy by using the Get-ExecutionPolicy cmdlet. To do this, input Get-ExecutionPolicy and press Enter on your keyboard.