Powershell Scripts For System Center

http://systemcentercentral.com/BlogDetails/tabid/143/IndexId/60930/Default.aspx

A fine collection of useful Powershell scripts for managing system center product suite.

Remember to run powershell scripts from within powershell you will need to enable first 🙂

Open powershell and run ‘Get-ExecutionPolicy‘ to display current policy.

To change the policy run: Set-ExecutionPolicy <Policy>

eg Set-ExecutionPolicy RemoteSigned

Policy

RemoteSigned – Configures PowerShell to run – without question – any scripts that you write yourself, but to run scripts downloaded from the Internet only if those scripts have been signed by a trusted publisher.

AllSigned – All scripts, including those you write yourself, must be signed by a trusted publisher

UnrestrictedAll scripts will run, regardless of where they come from and whether or not they’ve been signed.

 

 

Advertisements
This entry was posted in Command Shell - Powershell Reference. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s