diff --git a/Testing/with_middleware.ps1 b/Testing/with_middleware.ps1 index c75c17e..b2c41ac 100644 --- a/Testing/with_middleware.ps1 +++ b/Testing/with_middleware.ps1 @@ -105,9 +105,9 @@ class VM_SCVMM:_Generic_VirtualMachine { return @{"PoweredOn"=$true;"PoweredOff"=$false}[$this.__VMObject.VirtualMachineState] } - # __Load_Snapshots(){ - # Get-SCVMCheckpoint -VM $this.Get_Name() # -VMMServer $this.__ServerObject.url - # } + __Load_Snapshots(){ + Get-SCVMCheckpoint -VM $this.Get_Name() # -VMMServer $this.__ServerObject.url + } #Get-SCVMCheckpoint } @@ -124,9 +124,9 @@ class VM_vSphere:_Generic_VirtualMachine { return @{ "PoweredOn" = $true; "PoweredOff" = $false }[$this.__VMObject.PowerState] } -# __Load_Snapshots(){ -# Get-Snapshot -VM $this.Get_Name() # -VIServer $this.__ServerObject.url -# } + __Load_Snapshots(){ + Get-Snapshot -VM $this.Get_Name() # -VIServer $this.__ServerObject.url + } } class VirtualizationServer