sexta-feira, dezembro 05, 2008

Running Scripts Windows PowerShell

By default, PowerShell's execution policy is set to Reestricted
You can verify with command:
PS C:\> Get-ExecutionPolicy
Restricted
Help about Get-ExecutionPolicy
PS C:\> Get-Help About_Signing
The execution policy of powershell:
*Restricted
*AllSigned
*RemoteSigned
*Unrestricted
You can modify policy with command:
PS C:\> Set-ExecutionPolicy RemoteSigned
Now you can execution of scripts!!
See you later...

Nenhum comentário: