How come I cannot run scripts when I first install Windows PowerShell?
A. By default, a security feature in PowerShell, called the “Execution Policy,” prevents scripts from running. To understand the different execution policies available to you, type get-help about_signing in the Windows PowerShell prompt. After selecting an execution policy, use the Set-ExecutionPolicy cmdlet to set it. For instance, type Set-ExecutionPolicy RemoteSigned in the Windows PowerShell prompt.