Hello All ![]()
I am using PowerShell v5 on Windows 7
if i do the following
$AA = @{
Name = "Fred Smith"
DOB = [datetime]"1/June/1966"
guid = 222222
}
$AB = @{
Name = "Fred Smith"
DOB = [datetime]"1/June/1966"
guid = 111111
}
Compare-Object $AA $AB -IncludeEqual
the result is as follows
InputObject SideIndicator
----------- -------------
{guid, Name, DOB} ==
but they are no == as the GUID is different in both
Can anyone explain this please?
Thanks
AAnotherUser__