Export (0) Print
Expand All

Move-StorageGroupPath

 

Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1

Topic Last Modified: 2008-07-07

Use the Move-StorageGroupPath cmdlet to set a new path for a storage group.


Move-StorageGroupPath -Identity <StorageGroupIdParameter> [-ConfigurationOnly <SwitchParameter>] [-Confirm [<SwitchParameter>]] [-CopyLogFolderPath <NonRootLocalLongFullPath>] [-CopySystemFolderPath <NonRootLocalLongFullPath>] [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-LogFolderPath <NonRootLocalLongFullPath>] [-SystemFolderPath <NonRootLocalLongFullPath>] [-WhatIf [<SwitchParameter>]]

The Move-StorageGroupPath cmdlet sets a new path in the Active Directory directory service for the specified storage group object and then moves the related files to the new location. As part of executing this task, the associated databases are dismounted and remounted.

To run the Move-StorageGroupPath cmdlet, the account you use must be delegated the following:

  • Exchange Server Administrator role and local Administrators group for the target server

For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.

 

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.StorageGroupIdParameter

Use the Identity parameter to specify the GUID or distinguished name that represents a specific storage group. You can also include the server name by using the format ServerName\StorageGroup. The Identity parameter label is optional.

ConfigurationOnly

Optional

System.Management.Automation.SwitchParameter

The ConfigurationOnly parameter changes the configuration of the database without moving any files. A value of $true only changes the configuration in Active Directory. A value of $false changes the configuration in Active Directory and moves the files. The default value is $true.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm parameter causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm parameter.

CopyLogFolderPath

Optional

Microsoft.Exchange.Data.NonRootLocalLongFullPath

The CopyLogFolderPath parameter indicates the folder where log files are stored for the storage group copy. The default path is <ExchangeInstallPath>\Mailbox\LocalCopies\<StorageGroupName>. The location for all directories must be local. Remote access disk drives are not permissible. This parameter can only be used when Local Continuous Replication is enabled on the server. Note: Do not confuse the CopyLogFolderPath parameter with the LogFolderPath parameter.

CopySystemFolderPath

Optional

Microsoft.Exchange.Data.NonRootLocalLongFullPath

The CopySystemFolderPath parameter indicates the folder where system files are stored for the storage group copy. The default path is <ExchangeInstallPath>\Mailbox\LocalCopies\<StorageGroupName>.

This parameter can only be used when Local Continuous Replication is enabled on the server. Note: Do not confuse the CopySystemFolderPath parameter with the SystemFolderPath parameter.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

To specify the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory, include the DomainController parameter in the command.

Force

Optional

System.Management.Automation.SwitchParameter

Include the Force parameter to force the command to execute without asking for user confirmation.

LogFolderPath

Optional

Microsoft.Exchange.Data.NonRootLocalLongFullPath

The LogFolderPath parameter indicates the folder where log files will be stored. The default path is <ExchangeInstallPath>\Mailbox<StorageGroupName>. Note: Do not confuse the LogFolderPath parameter with the CopyLogFolderPath parameter.

SystemFolderPath

Optional

Microsoft.Exchange.Data.NonRootLocalLongFullPath

The SystemFolderPath parameter indicates the folder where system files will be stored. The default path is <ExchangeInstallPath>\Mailbox<StorageGroupName>. Note: Do not confuse the SystemFolderPath parameter with the CopySystemFolderPath parameter.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf parameter instructs the command to simulate the actions that it would take on the object. By using the WhatIf parameter, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf parameter.

 

Error Description

 

 

 

Exceptions Description

 

 

The following code is an example of how to use the Move-StorageGroupPath command.

Move-StorageGroupPath -Identity "Second Storage Group" -LogFolderPath:"D:\Mailbox\Second Storage Group" -SystemFolderPath:"D:\Mailbox\Second Storage Group"
 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft