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
object types.. ispublic isserial, what do they mean?
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- dan.potter
- Posts: 709
- Last visit: Wed Nov 14, 2018 11:39 am