Hi,
To bulk approve agents in SCOM once they appear in Pending Management, you can use the Set-SCOMAgentApprovalSetting
cmdlet with the -AutoApprove
parameter. This will automatically approve any new manually installed agents that contact the management server. Here's an example of how you might use this cmdlet:
Set-SCOMAgentApprovalSetting -AutoApprove
This command sets the manual agent approval setting for the management group to automatically approve any manually installed agent that contacts the management server and joins the agent to the management group.