PowerShell for IT Professionals [#18] – Working with text strings

Although PowerShell treats everything as object - including text strings - working with text might be particularly difficult - at least when first approached. In this lesson we are going to have a closer look at what is possible with built in text methods and see how these can help us e.g. by extracting a substring of text. PowerShell can also be great at parsing log files - we will use Select-String to quickly filter out the lines of text with the phrase we are looking for e....

3 November 2020 · 2 min · 395 words · Kamil