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
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
Unrestricted – All scripts will run, regardless of where they come from and whether or not they’ve been signed.