Appendix G - MA GUID Retrieval Script

Applies To: Windows Server 2008, Windows Server 2008 R2

The following script is used to obtain the Management Agent GUIDs.

Set MASet = GetObject(“winmgmts:root\MicrosoftIdentityIntegrationServer”).ExecQuery(“Select * from MIIS_ManagementAgent”)

for each MA in MASet

WScript.Echo "MA Name: " + MA.Name + " - GUID: " + MA.GUID

next