RD wrote:
Quote:
> The documents say that the default execution policy of Powershell is
> "Restricted". But it appears to me that whey you install Exchange server
> 2007, the policy is changed to "RemoteSigned". Is that correct? If so, how
> can I run Exchange PS1 scripts with default security policy of PS. Thanks.
The default execution policy is 'restricted'. With that policy, you
won't be able to run scripts at all.
You need to determine what your security policy for writing and running
scripts will get.
Check out:
get-executionpolicy
and
set-executionpolicy
To set the default PS policy:
PSH> set-executionpolicy restricted
Marco
--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp
PowerGadgets MVP
http://www.powergadgets.com/mvp
Blog:
http://marcoshaw.blogspot.com