Chapter 15. Input and Output

Data comes in all flavors and formats. It would be great if all systems were using objects, and PowerShell could use those objects to get data from any system. That is a good thing to strive for, but unfortunately, it is not the case at all. The good old file continues to reign as the primary means for communication between heterogeneous systems. All-powerful file formats come and go, but the only thing that can really get read and written by just about any computer system on this planet is plain text. We do not need to run a program written for an IBM mainframe ten years ago on our workstation as long as we can get some of the data that program generates in text format. Of course, text files will surely have different ...

Get Pro Windows PowerShell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.