Indie101
asked on
Script to find Snapshots\RMDS\ISOs in VSphere
Script to get snapshots , RDMS, ISOs in vCenter
Within 5.5 where machines are going to be migrated from
Want to do a check on source VMs to make sure they don't have any local devices attached to them, whats best way to tabulate this list?
I also want to check snapshots, which i have completed using RVtools and script below
get-vm | get-snapshot | FT VM, SizeGB, Created, Name, Description (The figures tally up there is only 3 vms with snapshots)
Is there a best way to get list of RMDs, ISOs, from vCenter or through a script?
Within 5.5 where machines are going to be migrated from
Want to do a check on source VMs to make sure they don't have any local devices attached to them, whats best way to tabulate this list?
I also want to check snapshots, which i have completed using RVtools and script below
get-vm | get-snapshot | FT VM, SizeGB, Created, Name, Description (The figures tally up there is only 3 vms with snapshots)
Is there a best way to get list of RMDs, ISOs, from vCenter or through a script?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Get-VM | where {($_ | Get-CDDrive).ISOPath -ne $null} | select Name, @{Label="ISO file"; Expression = { ($_ | Get-CDDrive).ISOPath }} | export-csv c:\temp\export-iso.csv -NoTypeInformation -UseCulture