Summary

In this chapter, you learned how to use PowerShell objects, their properties, and methods. You saw variable and subexpression expansion in strings and here-strings. You learned about the PowerShell pipeline and parameter binding using the ByValue or ByPropertyName parameter binding types. You learned how to use the PowerShell object cmdlets: Select-Object, Where-Object, ForEach-Object, Sort-Object, Measure-Object, Group-Object, Compare-Object, Tee-Object, and New-Object. We looked at different methods to create new objects. Finally, you saw an example of how to use COM objects. In the next chapter, you will learn how to manage VMware vSphere Hosts with PowerCLI.

Get Learning PowerCLI - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.