With around 2500 agents we have a relatively large OpsMgr environment. Earlier this week I've installed the latest UR, and as expected all of the agents turned up in Pending Management under Agent Requires Update.
To make matters worse, in our new OpsMgr 2012 environment we opted for a split Infrastructure/Applications by making 2 Management Groups. This forces me to approve them in both MG's, so twice the amount of work!
I can think of a few scenario's on how to upgrade the agents, and I'm wondering how others do this.
1. Select a small group of agents in the console and approve them.
The advantage: well... the approved agents get updated and disappear from the list
The downside is that this is quite time intensive (and tedious)! And your selection should only have agents linked to the same Management Server.
2. Do it in the OpsMgr Shell.
This is the command I've used a few times:
Get-SCOMPendingManagement | where {$_.AgentName -like "FQDN"} | Approve-SCOMPendingManagement -ActionAccount (Get-Credential -Credential domain\user)
Advantages:
* Can be used for bunch of Agents linked to different Management Servers.
* AgentName accepts wildcards.
Downside: it's still quite time intensive...
3. Use ConfigMgr (or another software deployment tool): Build a collection that dynamically queries outdated agents and push the most recent agent installer to them.
Advantages: This saves a huge amount of time
Downside: The agents do not disappear from the Agent Requires Update list and have to be rejected to get rid of them
Anything I'm missing?
Looking forward to any advise on this...