Summary
In this chapter, you learned about regular expressions. You explored different common regular expressions and learned that you can use them with the -match
comparison operator. You also learned that that there are cmdlets that support the use of regular expressions. You then created a dynamic regular expression using values from an array and identified strings that matched those expressions. Finally, you evaluated the performance difference between using regular expressions and multiple arrays for string searching. In the next chapter, you will be combining all of the concepts that you've learned in this book to create a Windows server scanning script.