Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Get-VM -ComputerName (Get-ClusterNode) |
- ForEach-Object {Get-VHD -ComputerName $_.ComputerName -VMId $_.VMId} |
- Select path,computername,vhdtype,@{label='Size(GB)';expression={$_.filesize/1gb -as [int]}} |
- Export-Csv -Path C:\temp\result.csv
Add Comment
Please, Sign In to add comment