SCOM 2012 Enable Proxy Powershell

If you wish to enable proxy on all your monitored servers you can do this manually which can be laborious if you have alot of monitored servers, alternatively you can run this powershell to do it for you. Just copy the text below and save as a .ps1 file

#Operations Manager module import
Import-Module OperationsManager

write-host “Enabling Proxy on all Opsmgr Agents…please wait” -foregroundcolor cyan
Get-SCOMAgent | where {$_.ProxyingEnabled.Value -eq $False} | Enable-SCOMAgentProxy
write-host “Job Completed” -foregroundcolor yellow

 

Advertisements
This entry was posted in SCOM 2012 SP1 and tagged , , , , , . 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