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

Top N or Bottom N filter based on a parameter

Motherboard replacement

Security ID 6281 l3codeca.asm