Reply to Message

View discussion in a popup

Replying to:
gravey80
Contributor
Contributor

Great script, but the datastore totals don't seem correct?  Here is what I got;

13 Datastores with a total of 1055 GB of disk space

Datastore Usage Statistics
Datastore NameTotal Disk Space (in GB)Current Usage %Number of VMs containedCommitment %
datastore1274 GB1%00%
datastore1 (1)62 GB2%02%
datastore1 (2)62 GB2%02%
datastore1 (3)62 GB2%02%
Local Storage (Do Not Use)62 GB2%02%
S1-XXXXX700 GB96%23146%
S1-XXXXX360 GB88%18159%
S1-XXXXX300 GB84%184%
S1-XXXXX1100 GB87%27111%
S1-XXXXX420 GB76%295%
S1-XXXXX1000 GB95%7102%
S1-XXXX1000 GB92%19118%
S1-XXXX100 GB84%183%

Clearly I have more than 1055GB Allocated.

The other thing I'd like to know is if there is a way to exclude certain data stores from the script?

I'd like to remove all local host storage, so only my SAN shows in the report.

Reply
0 Kudos