Chapter 5. Advanced operators and variables

5.1

Operators for working with types

115

5.2

The unary operators

117

5.3

Grouping, subexpressions, and array subexpressions

119

5.4

Array operators

123

5.5

Property and method operators

132

5.6

The PowerShell format operator -f

137

5.7

Redirection and the redirection operators

138

5.8

Variables

141

5.9

Summary

145

 

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’re going to continue the discussion of operators by covering the more advanced ones, which include things that some people don’t think of as operators at all. We’re also going to cover how to build complex data structures ...

Get Windows PowerShell in Action 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.