5 Days – 5 PowerShell One-Liners You Can’t Live Without

5 Days now… Till? Guessed yet? If not, here are 5 PowerShell one-liner’s you cant live without. get-vm | get-snapshot | where { $_.Created -le (Get-Date).AddDays(-7)} get-vm | get-view | %{ $_.Config } | select Name,Uuid get-vm | Get-CDDrive | Set-CDDrive -Connected:$false -Confirm:$false get-template MyTemplate | new-vm -vmhost esxserver01 -name MyVM -OSCustomizationSpec MySpec get-vmhost –name[…]