Link to home
Start Free TrialLog in
Avatar of piedthepiper
piedthepiper

asked on

Power cli script

So I'm pretty new to powercli and I am wanting a simple script.

Basically I need a script that I check  a cluster for all attached datastores and show the available space of the datastores.

And then run it again with an add on for showing the vms on the datastore and their sizes.

Also is there a way to see which vms are currently registered to a particular datastore? So I put in the datastore name/naa id and it will reference vcenter to see which vms running or not that are registered in its inventory?
ASKER CERTIFIED SOLUTION
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial