Thursday 16 July 2015

Getting group overrides

A simple script to return a list of overrides against a group in SCOM.


# MUGetSCOMGroupOverrides.ps1
# Script to retrieve overrides for a specific group
# Scripy by Darren Joyce
# Last updated 16/7/15


param($name)
if (!$name){
    $name = read-host 'What is the name of the group?'
    }

$groupid = (Get-SCOMGroup $name).Id
Get-SCOMOverride | where {$_.ContextInstance -eq $groupid}
 

No comments:

Post a Comment