Chapter 18. Advanced PowerShell syntax
This chapter covers
- Splatting
- 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.
18.1. Splatting
“Splatting” sounds like something a newborn baby does, right? In reality, it’s a way of wrapping up several parameters ...
Get PowerShell in Depth 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.