Chapter 18. Advanced PowerShell syntax
This chapter covers
- Defining default parameter values
- Running external utilities
- Using subexpressions
- Using hash tables as objects
This chapter is a kind of catchall—an opportunity to share some advanced tips and tricks that you’ll see other folks using. Almost everything in this chapter can be accomplished in one or more other ways (and we’ll be sure to show you those as well), but it’s nice to know these shorter, more concise PowerShell expert techniques. These techniques save you time by enabling you to complete your tasks quicker and more easily.
“Splatting” sounds like something a newborn baby does, right? In reality, it’s a way of wrapping up several parameters ...