Microsoft.ActiveDirectory.Management.ADPropertyValueCollection issue on get-aduser
i running command
get-aduser username -properties * | select name, publicdelegates, publicdelegatesbl
but output returns microsoft.activedirectory.
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
Post a Comment