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

Re: Need Help: PowerCLI for Provisioned Space on Datastore

$
0
0

The following PowerCLI code will give you the provisioned space in GB for each datastore:

 

Get-Datastore |Select-Object-Property Name,
CapacityGB,FreeSpaceGB,
@{ Name ="ProvisionedSpaceGB"   Expression = {($_.ExtensionData.Summary.Capacity -$_.Extensiondata.Summary.FreeSpace +$_.ExtensionData.Summary.Uncommitted)/1GB}
 }

Viewing all articles
Browse latest Browse all 197835

Trending Articles



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