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

Cannot create Full Text Search catalog after upgrading to V12 - Database is not fully started up or it is not in an ONLINE state

Remote Desktop App - Error 0x207 or 0x607