1.2. Built-in Types

PowerShell not only allows us access to many types of objects and lets us modify them in a uniform way—it also includes several built-in types that are worth knowing, as they are the ones we will be using in our everyday work with the shell. To be honest, PowerShell does not build those types from scratch; it relies heavily on the .NET framework, and all the built-in types are really .NET types. The shell designers have extended those types and added special syntax shortcuts to the language to make it easier to use them.

1.2.1. Strings and String Operations

Character strings are arguably the most commonly used data type in any programming language. Most likely that is the case because strings contain free-form data and are ...

Get Pro Windows PowerShell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.