Appendix B. Regular expressions quick reference

One of the really interesting features of Windows PowerShell is its ability to work with regular expressions. Regular expressions are optimized to manipulate text. Windows PowerShell uses regular expressions in many different places. Here is a listing of some of the places where regular expressions might be used:

Image Select-String cmdlet

Image ConvertFrom-String cmdlet

Image Where-Object cmdlet

Rename-Item cmdlet ...

Get Windows PowerShell Step by Step, Third Edition now with O’Reilly online learning.

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