I will start by stating up front that I am extremely new to PowerCLI. Our environment currently consists of mainly thin-provisioned guests. Generally we over commit our storage by about 150%. I have been successful in creating a script that will list out all datastores by cluster with the total capacity and free space but I am looking for a script that can provide a report on the amount of space provisioned per datastore for my storage reports. Up until now I have used CapIQ to generate these reports but as we move from 4 to 5, I will lose that capability so my goal is to replace it with scripting. I have found plenty of examples that use formulas which assume the datastores are not over-provisioned or that just flag a datastore as being over-provisioned but I haven't been able to come up with anything that will give the total amount provisioned per datastore. Any help would be appreciated.
↧