Run Arcserve Continuous Availability PowerShell
After the installation of Windows PowerShell and Arcserve Continuous Availability snap-ins, you can run Arcserve Continuous Availability PowerShell from two places:
- Arcserve Continuous Availability PowerShell shortcut - when using this option, you can immediately start working with Arcserve Continuous Availability PowerShell snap-ins.
- Windows PowerShell shortcut - when using this option, you need to manually add Arcserve Continuous Availability PowerShell snap-ins to Windows PowerShell. (See below.)
Important! When running some commands in PowerShell, a system error occurs if you set different passwords on the Master, Replica and Control Service hosts and some operations may fail to run or complete. Use the same administrator password on all hosts to avoid this issue.
To run Arcserve Continuous Availability PowerShell from Arcserve Continuous Availability PowerShell shortcut:
- Open Arcserve Continuous Availability PowerShell by selecting Start, Programs,arcserve RHA, PowerShell.
- Once you open Arcserve Continuous Availability PowerShell, the following window is displayed, listing all Arcserve Continuous Availability PowerShell snap-ins:
- Now, you need to connect to the Control Service that manages your Arcserve Continuous Availability operations. To perform this, use the Connect-XO command.
To run Arcserve Continuous Availability PowerShell from Windows PowerShell shortcut:
- Open Windows PowerShell by selecting Start, Programs, Windows PowerShell 1.0, Windows PowerShell.
- The Windows PowerShell window is displayed.
- Enter the following command to change the working directory to your Arcserve Continuous Availability PowerShell Snapin INSTALLDIR:
- Enter the following command to install Arcserve Continuous Availability PowerShell snap-ins:
- The Arcserve Continuous Availability PowerShell snap-ins are installed, and you can start using them to connect to the Control Service that manages your Arcserve Continuous Availability operations.
CD 'INSTALLDIR\Powershell Snapin'
The directory changes.
.\xo.ps1