Run powershell script against a remote exchange server
We have used Goexchange in the past with Exchange 2000 and 2003. They recently released a new version that is "compatible" with exchange 2007. The problem is that we have a CCR and SCR configuration, when Goexchange runs maintenance against the databases it will not automatically reseed the storage groups on the ccr and scr nodes. I can start a script from the application when the maintenance job is complete. I would like to run a script that reseeds the storage groups on the remote servers. The problem is that you have to run the suspend and updatedate storagegroupcopy commands on the target hosts. Is there any way to accomplish this? I know that powershell 2.0 can do that but I really don't want to have to wait another year for it.
November 17th, 2008 5:44pm
Hi,
Basically all Exchange PS commands have -Identity switch. You can use it to specify ServerName\StorageGroup and run the command from any of the Exchange 2007 server or from the workstation where Exchange management Tools installed.
Example: Suspend-StorageGroupCopy -Identity <Server\StorageGroupName> -StandbyMachine <SCRTargetMachine>
How to Suspend Changes to a Standby Continuous Replication Target
http://technet.microsoft.com/en-us/library/bb629504.aspx
How to Seed a Standby Continuous Replication Target
http://technet.microsoft.com/en-us/library/bb738131.aspx
Free Windows Admin Tool Kit Click here and download it now
November 17th, 2008 6:04pm
I have tried this already and get the following error:
Update-storagegroupcopy "Seeding failed: In a cluster continuous replication environment, Update-storagegroupcopy must be run on the passive node. In a standby continuous replication environment, Update-storagegroupcopy must be run on the scr target computer.
November 17th, 2008 9:24pm
Hi,
I recommend you to contact GoExchange Support to get better help.
Support from Lucid
http://www.lucid8.com/support/support.asp
Xiu
Free Windows Admin Tool Kit Click here and download it now
November 20th, 2008 11:10am