In this modern world, we tend to deal with a lot of information. In some cases, the data is stored in a structured way (for example, CSV, XML, JSON, and so on). And in some other cases, the data is stored in an unstructured away, such as log files, .txt, and so on.
We have already been dealing with unstructured files so far in this book. PowerShell works well with either type of file. Where PowerShell really stands out is how it handles structured data, and, by extension, structured files. In many cases, in fact, a simple one-liner is sufficient for PowerShell to parse data into an object.
We had an interesting situation once at work. One of our clients uses a certain MDM application. At one point, the email application that is part of the MDM suite started crashing on the users. The users found that reinstalling the app fixed the...