I did some monitor powercli maybe 3 years ago, just some 1-liners and very small scripts. I am starting again and would like to really dedicate some time to it. In looking at sample scripts to get my mind refreshed, I see some people using Get-view, some people using get-vm, etc. for nearly the same task. I read get-view should be much fast. Since I am kind of picking this up again, should I focus on learning get-view?
Not immediately.
The Get-View cmdlet is indeed faster in larger vSphere environments.
And with Get-View you can also get access to vSphere API methods and properties that are not yet exposed through PowerCLI cmdlets.
Some suggestions I always give:
Christophe made a great document on a sample learning track for PowerCLI.
See his PowerCLI study guide – core concepts
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Not immediately.
The Get-View cmdlet is indeed faster in larger vSphere environments.
And with Get-View you can also get access to vSphere API methods and properties that are not yet exposed through PowerCLI cmdlets.
Some suggestions I always give:
Christophe made a great document on a sample learning track for PowerCLI.
See his PowerCLI study guide – core concepts
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thank you so much. I will look at that guide too. And I actually am going through just Powershell courses on lynda.com as well.