1 Reply Latest reply on Feb 16, 2018 6:38 AM by LucD

    Create and Revert Snapshot

    danscorpio Lurker




      Could someone please give  a professional touch to this script so that I could Revert snapshot with results and then take a snapshot again

      I would really appreciate your response.








      if ( !(Get-Module -Name VMware.VimAutomation.Core -ErrorAction SilentlyContinue) ) {



      "C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Scripts\Initialize-PowerCLIEnvironment.ps1"






      $srv= connect-CIServer -Server vcloud.link-connect.com -user xx -Password xxx -Org xxx



      $vm = Get-CIvm "xxxx"-



      $vm.ExtensionData.RemoveAllSnapshots() ???? Need Revert Script please !!