SCOM Mail Report for Pending Management Approvals

In a secure SCOM environment the security setting for “Manual Agent Installation” should always be set to “Review new manual agent installation in pending management view”.
This can lead to devices not being discovered automatically after the servers were build. Yeah people forget something like that from time to time 😉

To avoid this I created a small PowerShell script to create an E-Mail report every morning (Scheduled Task).
Please note that the user account needs to have admin access in SCOM to query the information. The user also must have access to the SMTP server or the server needs to be allowed to relay mails.
Continue reading