PowerShell: Compare Two Objects

By |2020-07-31T23:56:09-07:00Jul 20, 2020 - Monday|PowerShell, Technology|

The Compare-Object cmdlet is a very useful tool to find differences between data sets. It can help with logging changes, acting only on specific sets of data, speeding up processing time, and reducing complexity. In this article, we will cover what the "SideIndicator" property means, how to pass through all Properties from the source data, create a custom property with evaluated information, and output only results that exist in both data sets.