PowerCLI: Get Snapshot Information
Jun06

PowerCLI: Get Snapshot Information

Get Snapshot Information KB ID 0001829 Problem The question was asked on Experts Exchange today. Are there any scripts or reports that would give me information on VMware VM’s with snapshots? was pretty sure this was a straight forward one, so I jumped on the test network. Solution: Get Snapshot Information Connect to your vCenter and use the following commands. Connect-viserver vCenter-Name THEN AUTHENTICATE Get-VM |...

Read More
VMware: Find Connected ISO’s
Oct13

VMware: Find Connected ISO’s

KB ID 0001708 Problem If you want to search your VMware estate to find VMs that have connected CD/DVD ISO files, then here are your best two options; Option 1: Use PowerCLI Whilst connected to your virtual infrastructure (Connect-VIServer) issue the following command; Get-VM | FT Name, @{Label=”ISO file”; Expression = { ($_ | Get-CDDrive).ISOPath }} Option 2: Use PowerCLI If you don’t already have RVTools then get it...

Read More
PowerCLI: Get All Snapshot Information
Aug03

PowerCLI: Get All Snapshot Information

KB ID 0001690 Problem This was asked on EE today, and it was an interesting one so I wrote it up. How to locate all the Snapshots in your VMware virtual infrastructure, and see how much space they are taking. Solution Use the following PowerCLI; Get-Snapshot * | Select-Object -Property VM, Name, SizeGB, Children | Sort-Object -Property sizeGB -Descending | ft -AutoSize Related Articles, References, Credits, or External Links...

Read More