Identifying the IIS resources of a Web site by using XML

Use the QueryResourcesByWebSite procedure of the IIS Resource Manager namespace to return all Web site resources that are currently being used by a particular Web site.

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 QueryResourcesByWebSite procedure

   <execute namespace="IIS Resource Manager" procedure="QueryResourcesByWebSite">
	 <after source="executeData" destination="data" sourcePath="webSite"/>

Input for QueryResourcesByWebSite

The following input is valid for this request:

Typical response for QueryResourcesByWebSite

This request returns the name of the server hosting the Web site, the Internet Protocol (IP) address of the Web site, and, in the <port> tag, the ports (if any) owned by the Web site.


The request also returns the location of the disk volume associated with the Web site and the disk volume storage (in megabytes) allocated to the Web site.