When 2 become 1...

Ok so I am a bit late on this one but like a persistent lover I get there in the end...:)

What am I on about?  Powershell and Ops Manager.

I just wrote my first PowerShell for Ops Manager and it rocks.

Well...not really but I like it and it may save you some time too...

How to set the Agent Proxy by PowerShell - would be a better title and probably help people find this!

Get-Agent | Where {$_.DisplayName -match "contoso.com"} | foreach{$_.ProxingEnabled = $true;$_.ApplyChanges()}

This will enable the Proxy Agent on all machines with contoso.com in the DisplayName.

Nice

Comments

Popular posts from this blog

PXE booting, MDT and 802.1x

NetScaler VPX and Exchange 2010

Security Policy 1001