Chapter 8. Objects: data by another name

We’re going to do something a little different in this chapter. We find that PowerShell’s use of objects can be one of its most confusing elements, but at the same time it’s also one of the shell’s most critical concepts, affecting everything you do in the shell. We’ve tried different explanations over the years, and we’ve settled on a couple that each work well for distinctly different audiences. If you have some programming experience and you’re comfortable with the concept of objects, we want you to skip to section 8.2. If you don’t have a programming background, and haven’t programmed or scripted with objects before, start with section 8.1 and read straight through the chapter.

8.1. What are objects? ...

Get Learn Windows PowerShell in a Month of Lunches, 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.