Exchange 2007 Resource Manager::AddExchangeResources

This procedure adds a set of public folder stores and mail stores.

Arguments

Input Arguments Required Description

<preferredDomainController>

Yes

The Fully Qualified Domain Names (FQDN) or IP Address of the domain controller to use for this procedure.

<publicStores>

No

The container element for each set of child public store elements.

<publicStores/ publicStore>

No

The container element for each set of child public store properties elements.

<publicStores/ publicStore/ serverName>

Yes if the parent node <publicStore> is present

This parameter is required if the publicStore element is present. The NETBIOS name of the Exchange server.

<publicStores/ publicStore/ megabytes>

Yes if the parent node <publicStore> is present

The size of disk storage or the size of an adjustment.

<publicStores/ publicStore/ publicStoreName>

Yes if the parent node <publicStore> is present

Defaults to Public Folder Store (ServerName). Must be unique amongst all the public folder stores in the Active Directory tree.

<mailstores>

No

The container element for each set of child mailstore elements.

<mailStores/ mailStore>

No

The container element for each set of child mailstore properties elements.

<mailStores/ mailStore/ serverName>

Yes if the parent node <mailStore> is present

This parameter is required if the publicStore element is present. The NETBIOS name of the Exchange server.

<mailStores/ mailStore/ mailStoreName>

Yes if the parent node <mailStore> is present

The name of the mailstore. This name must be unique amongst all of the mailbox stores in the Active Directory tree. A naming scheme of Mailbox Store N (ServerName) where N is an integer that is unique on this server is recommended.

<mailStores/ mailStore/ megabytes>

Yes if the parent node <mailStore> is present

The size of disk storage or the size of an adjustment.

<mailStores/ mailStore/ shared>

Yes if the parent node <mailStore> is present

If 1, this mailstore may be shared by multiple organizations. Otherwise it will be allocated to a single organization.

<frontEndServers>

No

The container element for child frontEndServer elements.

<frontEndServers/ frontEndServer>

No

The container element for a collection of server properties elements.

<frontEndServers/ frontEndServer/ serverName>

No

This parameter is required if the publicStore element is present. The NETBIOS name of the Exchange server.

<consumerMailStores>

No

The container element for child mailstore elements.

< consumerMailStores/ mailStore>

No

The container element for each set of child mailstore properties elements.

<consumerMailStores/ mailStore/ serverName>

No

The NETBIOS name of the Exchange server.

<consumerMailStores/ mailStore/ mailStoreName>

No

The name of the mailstore. This name must be unique amongst all of the mailbox stores in the Active Directory tree. A naming scheme of Mailbox Store N (ServerName) where N is an integer that is unique on this server is recommended.

<consumerMailStores/ mailStore/ megabytes>

No

The size of disk storage or the size of an adjustment.

<consumerMailStores/ mailStore/ warningPc>

Yes if the parent node <mailStore> is present

The percentage of resource allocated before warning.

<consumerMailStores/ mailStore/ defaultMaxFillPc>

Yes if the parent node <mailStore> is present

The maximum percentage of allocation for the resource.

Remarks

Security

The caller must be at least a member of role: DomainAdmin

Sample Code

Example XML Request

<request>  
        <data>  
                <preferredDomainController>ad01.fabrikam.com </preferredDomainController> 
        </data> 
        <procedure>  
                <execute namespace="Exchange 2007 Resource Manager" procedure="AddExchangeResources" impersonate="1" >  
                        <before source="data" destination="executeData" mode="merge" /> 
                        <after source="executeData" destination="data" mode="merge" /> 
                </execute> 
        </procedure> 
</request> 

Applies To

Exchange 2007 Resource Manager Namespace for:

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

See also

Tasks

Exchange 2007 Resource Manager::ModifyExchangeResources
Exchange 2007 Resource Manager::RemoveExchangeResources