Chapter 2. Data Parsing and Manipulation
One of the most powerful features of PowerShell is its ability to retrieve and manipulate data. Many a times when you retrieve data from a PowerShell session, the format in which it is available is different from what you would want to display in the PowerShell window or in a log file. For this purpose, PowerShell provides powerful cmdlets and methods to perform data manipulation to best suit your needs as a PowerShell scripter.
While reading this chapter, you'll learn the following concepts:
- String manipulation
- Number manipulation and parsing
- Date/time manipulation
- Forcing data types
- PowerShell pipeline
String manipulation
String manipulation is something that you'll need to do in almost every script you create. ...
Get PowerShell: Automating Administrative Tasks 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.