Identifying all servers with IIS resource allocations by using XML

You can use the QueryAllServers procedure of the IIS Resource Manager namespace to return all Internet Information Services (IIS) computers that have been added to the IIS Resource Manager by using the AddIISResources procedure.

This procedure runs as the Microsoft Provisioning Framework (MPF) service account in order to make calls to the Resource Manager database.

Example of a request that calls the QueryAllServers procedure

<request>
 <procedure>
   <execute namespace="IIS Resource Manager" procedure="QueryAllServers">
	 <after source="executeData" sourcePath="serverNames" destination="data" />
   </execute>
 </procedure>
</request>

Input for QueryAllServers

No input is required.

Typical response for QueryAllServers

This request returns a list of the internal NetBios computer names for all IIS computers in the system registered in the Resource Manager database.

<response>
 <data>
   <serverNames>
	 <serverName>machine03</serverName>
	 <serverName>machine04</serverName>
	 <serverName>machine02</serverName>
	 <serverName>machine01</serverName>
   </serverNames>
 </data>
</response>

Important