PowerShell Core for Linux Administrators Cookbook
上QQ阅读APP看书,第一时间看更新

Parsing input from text to object

Moving to the object model from text could seem a little daunting at first. However, with PowerShell, it is not very hard to switch to the new model, especially given that PowerShell can convert text into objects given the right tools. In this recipe, we will look at two of the ways that PowerShell converts textual data into objects.