Microsoft.ActiveDirectory.Management.ADPropertyValueCollection issue on get-aduser


i running command

get-aduser username -properties * | select name, publicdelegates, publicdelegatesbl

but output returns microsoft.activedirectory.management.adpropertyvaluecollection, despite knowing there delegates setup user queried.

is there anyway round this? dont understand why doesnt return correct information. did wonder if perhaps because there number of entries in both fields?

get-aduser username -properties * | select -expand publicdelegatesbl

get-aduser username -properties * | select name, @{n='publicdelegates';e={$_.publicdelegates -join '|'}}


\_(ツ)_/



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Motherboard replacement

Remote Desktop App - Error 0x207 or 0x607

AD Replication Failure Between Server 2008 R2 and Server 2003 - LDAP bind failed with error 8341