Document your SCOM RunAs Account and Profiles script
This script will document your SCOM RunAs accounts, and any profiles they are associated to. It will output as a CSV file.
This is handy for collecting data for change management, making sure multiple management groups have the same configuration, and ensuring you have documented accounts prior to a major upgrade.
The script is based on the work if Dirk Brinkmann’s 2012 script – located here: https://gallery.technet.microsoft.com/Listing-SCOM-2012-R2-24be56b1
Here is a sample of the output: