Hi folks,
I'd like to know how many properties an object has.
Lets take an AD user object for example:
$u = Get-ADUser -identity MyName -prop *
$u is one object (not an array) with many attributes.
How do I count these attributes?
Additional: Some attributes are doubled, I know: Modified = modifyTimeStamp = whenChanged, the same with Created. Maybe there is way to count the "real AD attributes" without and duplicates?
Thanks
Walter