MOM Experts,
In PowerShell, I have a list of SCOM Monitoring Groups, and I from that I would
like to get a list of Monitoring Agents.
Does anyone know the path to following to filter the list of all agents to just
those with monitors in a specific set of monitoring groups?
Here is how I get the list of groups I am interested in:
$ AllGroups = Get-MonitoringObjectGroup;
$ VASSGroups = $Global:AllGroups | Where-Object { $_.DisplayName -like
'Vended*' };
As you can see, the groups I am interested in all begin with 'Vended'. This
works perfectly, I just don't know where to go from here as the list of methods
supported by the MonitoringGroup object does not easily lead me to agents.
Thanks!
Jorgie
--
Erik Jorgensen
Support Systems Administrator - Principal
Tier 2 Applications Support
Division of IT
University of Missouri - Columbia
[email protected]<https://um-ncas2.um.umsystem.edu/owa/UrlBlockedError.aspx>
573.882.5974
Sent from Outlook 2013 on a Surface Pro with Windows 8.1 Enterprise!