Summary

This chapter explores the many methods you can use to manipulate and parse data with PowerShell. You learned techniques that will help you better work with data and provide a richer experience for individuals using your scripts.

The string manipulation section taught you many different methods to work with strings. This included changing the case, splitting and replacing strings, counting and trimming strings, searching strings, and viewing substrings. The number manipulation section taught you how to use mathematical operations within PowerShell. This section displayed different ways to format numbers, round numbers, and calculating complex mathematical operations. The date time section of this chapter provided you with tools to use when ...

Get Mastering Windows PowerShell Scripting 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.