sync
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
|
||||
$ProtectionJob = Get-CohesityProtectionJob -Names "ZM-Performance Test Bismarck"
|
||||
$VMwareVM = Get-CohesityVMwareVM -Protected -Names itdvmutil.nd.gov
|
||||
$ProtectionSourceObject = Get-CohesityProtectionSourceObject -Environments KVMware | Where-Object Name -eq "itdvmutil.nd.gov"
|
||||
|
||||
# 4312
|
||||
# 3156
|
||||
# 4584
|
||||
# 3156
|
||||
|
||||
Restore-CohesityFile -TaskName "zmRestoreFileTest" `
|
||||
-FileNames /D/Upgrades/VMware/old/VMware-VCSA-all-6.5.0U3g-14836121.iso `
|
||||
-JobId $ProtectionJob.Id `
|
||||
-SourceId ($ProtectionSourceObject | Select -Unique ParentId).ParentId `
|
||||
-TargetSourceId $VMwareVM.Id `
|
||||
-TargetParentSourceId $VMwareVM.ParentId `
|
||||
-TargetHostType KWindows `
|
||||
-TargetHostCredential (Get-Credential)
|
||||
|
||||
|
||||
Restore-CohesityFile -TaskName "restore-file-vm" `
|
||||
-FileNames /C/data/file.txt `
|
||||
-JobId 1234 `
|
||||
-SourceId 843 `
|
||||
-TargetSourceId 856 `
|
||||
-TargetParentSourceId 828 `
|
||||
-TargetHostType KWindows `
|
||||
-TargetHostCredential (Get-Credential)
|
||||
Reference in New Issue
Block a user