SCOM product does not allow you to add a group directly a group to the distribution of a Run As Account and this script will read the group (that can be use for enabling the discovery for exemple) and populate the Run As Account distribution with all members of the group.
Or directly download the script >>>>>> HERE <<<<<<
This posting is provided "AS IS" with no warranties.