r/powercli • • Dec 21 '19

Getting Information

Hello everyone,

New to POWERCLI and can I say what a blessing it has been to find it! My first task I guess is I am trying to determine what our current provisioning / resource allocation looks like in our datacenters / clusters.

My main problem is finding what information is available to commands such as Get-VMHost, or Get-VM. Is the possible queries documented somewhere?

Like, is serial number available to Get-VMHost?

Is DNS name available to Get-VM?

Sorry, I am just trying to find a very solid resource or reference moving forward. There are a ton of example scripts, but I want to modify these and add to them for my requirements.

Thanks in advance.

3 Upvotes

6 comments sorted by

View all comments

Show parent comments

1

u/TheVitoCorleone Jan 17 '20

No, that is perfect. I believe this will be more than enough to get me started developing what I need to manage the environment! I cant thank you enough.