Skip to content

Instantly share code, notes, and snippets.

@danaugustin
Created June 1, 2018 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save danaugustin/54948cea4f15b9111c8550a79262229d to your computer and use it in GitHub Desktop.
Save danaugustin/54948cea4f15b9111c8550a79262229d to your computer and use it in GitHub Desktop.
connect-viserver
$vmlist =
foreach ($vm in $vmlist) {get-vm $vm | get-harddisk | measure-object capacitygb -sum}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment