Velocity Technical Archive
Exchange 2007 CCR useful commands
Archived Reference: This is a historical technical article preserved from the Velocity Technologies knowledge base. For current Phoenix and East Valley managed IT services, explore our managed IT services or cybersecurity solutions.
Move Clustered mailbox server to another server\nMove-ClusteredMailboxServer -Identity:<CMSName> -TargetMachine:<PassiveNodeName> -MoveComment:<Comment>\nView Storage group configuration\nGet-StorageGroup -Server mbx01 | fl\nView the database configuration\nGet-PublicFolderDatabase -Identity "mbx01SG2Public Folder Store" | Fl\nView the status of all storage groups\nGet-StorageGroupCopyStatus -Server:<Server>\nOr to view the status of a particular storage group\nGet-StorageGroupCopyStatus -Identity:<ServerStorageGroupName>\nHow to view the status of a clustered mailbox server\nGet-ClusteredMailboxServerStatus -Identity:<Name>\nHow to verify the copy of the database\nSuspend replication on your passive node\nSuspend-StorageGroupCopy -Identity <ServerStorageGroup> -SuspendComment <Comment>\nFrom you %windows%system32 directory create a shadow copy\nVssadmin create shadow /for=<Volume>\nRun this command wherever your ESEUTIL is located to verify the database(default location:%ProgramFiles%MicrosoftExchange Serverbin)\nEseutil /k /p20 <Path for VSS Shadow Copy of database>\nIf ESEUTIL reports non corrupt datbase delete the shadow\nVssadmin delete shadows /For=<Volume>\nMoving database location in CCR environment\nSuspend replication\nSuspend-StorageGroupCopy -Identity <ServerStorageGroupName>\nDismount database\nDismount-Database -Identity <ServerStorageGroupNameDatabaseName>\nMove the database in the configuration only\nMove-DatabasePath -Identity <ServerStorageGroupNameDatabaseName> -EdbFilePath <NewPath> -ConfigurationOnly\nMove the files to the new location on this disks\nMount-database\nResume replication\nResume-StorageGroupCopy -Identity <ServerStorageGroupName>