vSphere · October 23, 2022 0

PowerShell Commands to Get Snapshot Information

Install PowerCLI Module (Machine without Admin Rights, with Internet Connectivity)

  • Install-Module -Name VMware.PowerCLI -Scope CurrentUser -AllowClobber -Force

 

Ignore certificate Warning for Default Certs

  • Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false

Connect vCenter Server

  • Connect-VIserver –server〈yourserver〉

 

Command to list the VM snapshots

  • Get-VM | Get-Snapshot | Select VM, Name, Created, Description