After upgrading PowerCLi from 6.5 to 11.2 the SRM script stopped working call $RecoveryPlan.GetRecoverySettings($moRef) produces error message "Exception calling"GetRecoverySettings" with "1" argument(s): "Object reference not set to an instance of an object"
Other calls such as :
$Vms = $ProtectionGroup.ListAssociatedVms()
$Rps = $ProtectionGroup.ListRecoveryPlans()
work just fine under both versions
I tested this function on multiple systems with same results
Any help would be appreciated
Thank you
Adam K