Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 201745

Re: Allocated space, used and free space for all VM's in a data center

$
0
0

If you remove the Get-Datacenter command then you will get a report of all of your VM's. To use file C:\temp\reports\vm_ds.csv, you can replace VMspaces.csv with C:\temp\reports\vm_ds.csv:

 

Get-VM |

Select-Object -Property Name,ProvisionedSpaceGB,UsedSpaceGB,@{N='FreeSpaceGB';E={$_.ProvisionedSpaceGB-$_.UsedSpaceGB}} |

Export-CSV -Path C:\temp\reports\vm_ds.csv -NoTypeInformation -UseCulture


Viewing all articles
Browse latest Browse all 201745

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>