Thanks for the awesome response!
I found it easier to get the pairingid like this:
instead of:
$pairingId = $srmConnection.ConnectedPairing.PairingId
After running the sample code you posted, I got a proper response.
$response = Invoke-RestMethod $recoveryStepsUrl -Method 'GET' -Headers $global:headers -SkipCertificateCheck
PS /Users/username/Documents/VMwareAPI> $response
list
----
{@{plan_callout_position_spec=; vm_callout_position_spec=; title=Synchronize storage; step_number=1.; child_count=6; depth=0; finish_time=; start_time=; expanded=False; id=4254; progress=0; status=INACTIVE; warnings=; errors=; referred_…
I do hope they fix the issue with the PowerCLI cmdlets though. This is a nice workaround.