PowerShellScripts icon indicating copy to clipboard operation
PowerShellScripts copied to clipboard

Passing -Property to Compare-Object

Open DawidGrzejek opened this issue 1 year ago • 1 comments

Hey,

When passing properties on which objects should be compared actually no difference is made.

$props = @('SN','DN','CN') Compare-Object $1st $2nd -Property $props -IncludeEqual | ft Compare-Object $1st $2nd -IncludeEqual | ft

First and Second compare result in the same output

DawidGrzejek avatar Mar 31 '23 08:03 DawidGrzejek