Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'BC - enum each datastore, summarise the VMs in each
- foreach ($d in get-datastore -name SAN_S*)
- {
- write-host "======DATASTORE====="$d; get-vm -datastore $d |select-object name,NumCpu,MemoryMB,@{Name="GBProvisioned";expression={[math]::Truncate($_.ProvisionedSpaceGB)}}|ft
- }
Add Comment
Please, Sign In to add comment