Getting Started with VMware Site Recovery Manager cmdlets

Provides cmdlets for managing VMware Site Recovery Manager features.

Step 1: Connect to Environment 


To setup a connection you should use the Connect-SrmServer command. Run the code sample below to connect.
Connect-VIServer "myVCServerIp" -User "myUser" -Password "myPassword"
Connect-SrmServer
You can also connect to remote environment by running one of the alternative options to connect below:

Option 1:
Connect-SrmServer -SrmServerAddress 192.0.2.1 -User "myUser" -Password "myPassword"
Option 2:
Connect-VIServer "myVCServerIp" -User "myUser" -Password "myPassword"
Connect-SrmServer -RemoteCredential $myRemoteCredential
Option 3:
Connect-VIServer "myVCServerIp" -User "myUser" -Password "myPassword"
Connect-SrmServer -NotDefault -IgnoreCertificateErrors
Feedback

Was this page helpful?