Use the AddExchangeResources procedure of the Exchange Resource Manager namespace to add public stores and mailbox stores to the pool of resources managed by Exchange Resource Manager. The stores must actually exist before being added. This call is restricted to Domain Administrators.
<request>
<procedure>
<execute namespace="Exchange Resource Manager" procedure="AddExchangeResources">
<executeData>
<publicStores>
<publicStore>
<serverName>CONTOSO1</serverName>
<megabytes>10000</megabytes>
</publicStore>
</publicStores>
<mailStores>
<mailStore>
<serverName>CONTOSO1</serverName>
<mailStoreName>Mailbox Store (CONTOSO1)</mailStoreName>
<megabytes>8000</megabytes>
<shared>1</shared>
</mailStore>
<mailStore>
<serverName>CONTOSO1</serverName>
<mailStoreName>Mailbox Store 2 (CONTOSO1)</mailStoreName>
<megabytes>8000</megabytes>
<shared>0</shared>
</mailStore>
<mailStore>
<serverName>CONTOSO1</serverName>
<mailStoreName>Mailbox Store 3 (CONTOSO1)</mailStoreName>
<megabytes>8000</megabytes>
<shared>0</shared>
</mailStore>
</mailStores>
</executeData>
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
The following input is valid for this request:
Use zero or more <serverName> elements of the <publicStore> element to specify public stores to be added.
<publicStores>
<publicStore>
<serverName>Name of server where public stores are to reside</serverName>
<megabytes>10000</megabytes>
</publicStore>
</publicStores>
Use zero or more <serverName>, <mailStoreName>, <megabytes>, and <shared> elements of the <mailStore> element to specify public stores to be added. The <shared> element can be 0 or 1. If it is 1, this mail store can be shared by multiple organizations. Otherwise, it will be allocated to a single organization.
<mailStores>
<mailStore>
<serverName>NetBios name of the Exchange server where mail stores are to reside
</serverName>
<mailStoreName>Name of mail stores are to be added</mailStoreName>
<megabytes>Number of megabytes to be allocated to mail store</megabytes>
<shared>Parameter indicating how shares are to be allocated</shared>
</mailStore>
</mailStores>
The response to this procedure does not contain significant data.
Important