Page 1 of 1

object types.. ispublic isserial, what do they mean?

Posted: Tue Mar 01, 2016 8:50 am
by dan.potter
I was playing around and found out these output different types, one serial one not.

PS H:\> (get-aduser me -properties proxyaddresses |select -ExpandProperty proxyaddresses).gettype()

IsPublic IsSerial Name BaseType
-------- -------- ---- --------
True True Object[] System.Array


PS H:\> ((get-aduser me -properties proxyaddresses).proxyaddresses).gettype()

IsPublic IsSerial Name BaseType
-------- -------- ---- --------
True False ADPropertyValueCollection System.Collections.CollectionBase