Chapter 5. Advanced operators and variables
This chapter covers:
The greatest challenge to any thinker is stating the problem in a way that will allow a solution.
Bertrand Russell
The previous chapter covered the basic operators in PowerShell, and in this chapter we’ll continue our discussion of operators by covering the advanced ones, which include things that some people don’t think of as operators at all. We’ll break the operators into related groups, as shown in figure 5.1.
In this chapter, we’ll look at how to work with types, properties, and methods and how to use these operators to build complex data structures. The chapter concludes with a detailed discussion of how variables work in PowerShell and how you can use them with operators to accomplish significant tasks.