Category Archives: Virtualization

Useful PowerCLI scripts

—Find VMs with snapshots Connect-VIServer vcenter Get-VM | Get-Snapshot | Select Created, VM —Find VMs with mounted ISO Get-VM | FT Name, @{Label="ISO file"; Expression = { ($_ | Get-CDDrive).ISOPath }} —Get Datastores and Used Storage for VMs within Cluster … Continue reading

Posted in Virtualization | Comments Off on Useful PowerCLI scripts