Created
January 20, 2016 16:15
-
-
Save snoj/ad3da430727c185f8ffb to your computer and use it in GitHub Desktop.
get total hyperv cluster virtual machine vhd size
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( get-clusternode | %{ get-vm -ComputerName $_.name } | %{ get-vhd -VMId $_.id -ComputerName $_.computername; } | measure -Sum size).sum / 1TB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment