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
Connect-SrmServer -SrmServerAddress 192.0.2.1 -User "myUser" -Password "myPassword"
Connect-VIServer "myVCServerIp" -User "myUser" -Password "myPassword"
Connect-SrmServer -RemoteCredential $myRemoteCredential
Connect-VIServer "myVCServerIp" -User "myUser" -Password "myPassword"
Connect-SrmServer -NotDefault -IgnoreCertificateErrors