Hello everyone,
I'm trying to find out if there is any simple method to compare two PsCustomObjects. Seems that Compare-Object doesn't support PsCustomObject and always reports that objects are the same.
Steps to reproduce:
$A = [PsCustomObject]@{"A"=1; "B"=$True; "C"=$False}
$B = [PsCustomObject]@{"A"=1; "B"=$False; "C"=$False}
Compare-Object $A $B
Thanks,
Martin