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

Top N or Bottom N filter based on a parameter