SCOM Resource Pool Memebership

I wanted a quick list of all the servers in a 2012 R2 resource pool for documentation rather than go into each on and check it. Haven’t got there yet but I did manage to get a quick way to see what resouce pools a management server belongs to.

For a single server

$Member = Get-SCOMManagementServer -Name “FQDN”
$Pools = Get-SCOMResourcePool -Member $Member
$Member.DisplayName
$Pools.DisplayName

For all management servers

$Members = Get-SCOMManagementServer

foreach ($member in $members)

{

write-host “”

$Pools = Get-SCOMResourcePool -Member $Member

write-host “Management Server – “$Member.DisplayName

$Pools.DisplayName

}

Useful for me so I thought it might be useful for other people.

Advertisements

Comments are closed.

%d bloggers like this: