PowerShell script 4 - merging the scanning script result data

As you run the Windows server scanning script on multiple systems in your environment, you will have a need to merge multiple CSV files into a single CSV file. This will allow for better searching of the scan results, and help you identify trends in your server infrastructure. PowerShell offers the Import-csv and Export-csv cmdlets, which provide the ability to manipulate CSV data. A common technique is to use the Import-csv and Export-csv cmdlets with a pipeline to import, manipulate, and export the data to a new CSV file.

To get started, you will need to create several CSV files to merge together. To create multiple CSVs that are similar to the Windows server scanning script output, ...

Get Enterprise PowerShell Scripting Bootcamp 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.