Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 978 Bytes

01. VM Restore from CLI.md

File metadata and controls

21 lines (18 loc) · 978 Bytes

This Demo Runs a restore of an Individual VM

Connect to PPDM API in AVS:

$connection=connect-PPDMapiEndpoint -trustCert -PPDM_API_BaseURI ppdmavs01.edub.csc
$RestoreVM = "server2022_3"

image

$Asset = Get-PPDMassets -filter 'type eq "VMWARE_VIRTUAL_MACHINE" and protectionStatus eq "PROTECTED" and name eq "server2022_3"'
$copyobject = $asset | Get-PPDMassetcopies | select-object -first 1

image

Restore the VM

Restore-PPDMVMAsset -CopyObject $copyobject -recoverConfig -TO_PRODUCTION -Description "Restore from Powershell" 

image image