How can you test if an object has a specific property?
Appreciate I can do ...
$members = Get-Member -InputObject $myobject
and th
Like this?
[bool]($myObject.PSobject.Properties.name -match "myPropertyNameToTest")