A question keeps coming up more and more often around accessing the vSphere API with PowerCLI. The conversation is normally centered around when to use Get-View versus when referencing an object’s ExtensionData property should be used.
This provided a great opportunity to create a lightboard video to highlight the different methods:
To answer the actual question though, the choice is yours. You get access to the same information available by the vSphere API either way!
In Get-View Part 1: Introduction I introduced the advanced feature Get-View and a little bit about what it does. Before getting into the views and extension data topic I wanted to add a few thoughts as a segway into this post.
I’ve had several people ask to understand more about Get-View. I will be doing several blog posts on this topic to hopefully help educate on what Get-View is and why it’s useful.
- Part 1: Introduction
- Part 2: Extension Data
- Part 3: Performance Impact
***Note: Get-view is a more advanced feature of PowerCLI. Administrators are able to fully utilize the benefits of PowerCLI without needing to learn Get-View. However, Get-view opens the door for even more flexibility and power in controlling your virtual environment.
Before dealing with Continue reading