This project is read-only.


Gets the MA XML


Uses maexport.exe utility to return the MA XML.


This function is a simple example of calling a command-line utility. In this case we call maexport.exe to dump the MA XML for a management agent it. The MA XML contains a ton of useful detail about the MA, and this function exposes that detail so scripts can get at it.


Get the MA XML for an MA by name.
Get-ManagementAgentXml myMAName


Pipe the output of Get-ManagementAgent into Get-ManagementAgentXML for one MA.
Get-ManagementAgent | Get-ManagementAgentXml myMAName


Get the MA XML for all the MAs.
Get-ManagementAgent | Get-ManagementAgentXml 

Last edited Aug 14, 2012 at 3:58 AM by CraigMartin, version 1


No comments yet.