bseltz-cohesity / scripts

Cohesity REST API examples in PowerShell and Python
Apache License 2.0
102 stars 40 forks source link

Restoring the VMs to original location #171

Closed Sheeba86 closed 2 months ago

Sheeba86 commented 2 months ago

Hi Brian,

Is there option to restore the VM's to its original location

Script: powershell/recoverVMs/recoverVMs.ps1

bseltz-cohesity commented 2 months ago

Sure , that is the default unless you specify a vCenter and other target parameters.

./recoverVMs.ps1 -vip mycluster -username myuser -vmName vm1