Summary
This has been a long chapter, but we’ve learned a lot. We started by looking at variables and how they are used in PowerShell. After that, we took another look at objects from a computer science perspective and learned about their properties and methods. This gave us a grounding to start exploring object types, and we looked at some of the value types, which are equivalent to the computer science concept of primitives. From there, we saw how value types can be grouped together into data structures or reference types. Finally, for a bit of fun, we looked at how splatting can save us time and effort.
In the next chapter, we are going to be looking at flow control in PowerShell, conditional statements such as if
and else
, and loops using ForEach
and While
. We’ll also be installing more software because that’s the fun stuff, right?