vSphere 6.0 Documentation Center
I am trying to run the script above. I get the attached error. I tried updating PowerCLI to version 6, and running "Connect-SRMServer" using the FQDN without any luck.
From the error it looks as if you don't have a connection to the vCenter server (Connect-VIServer).
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I added four lines of code to the above hyperlink - one for connecting to vCenter, and the other for connecting to SRM (protected and recovery sites). What else can be done to get this script to work? Do I need to feed the vCenter credentials into a particular part of this script for it to work?