Exploring VMWare's API using PowerCLI Get-View
How to explore properties of objects using PowerCLI’s Get-View cmdlet.
Figure out the object you want to dig in deeper about. For example, finding out all properties available about an ESX host.
Declare your variable, run the get-vmhost cmdlet, then pipe that to get-view, like so:
Now by simply typing $myvariable at the powershell prompt, I’ll get a return like this:
You can continue to do dive deeper to find the information you are looking for quickly and effectively by using this method. The ‘tab’ auto-complete function also works. Cheers!