Sample scripts to compare agents and management packs between management groups in Operations Manager
The SQL and PowerShell scripts can be used to compare management packs loaded into two different management groups and agents reporting into two different management groups. Both PowerShell and SQL options are available in the zip file.