Link to home
Create AccountLog in
Avatar of Pau Lo
Pau Lo

asked on

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

We are trying to run:

get-aduser username -Properties * | select name, publicDelegates, publicDelegatesBL

But the output only returns Microsoft.ActiveDirectory.Management.ADPropertyValueCollection, despite knowing there are delegates setup.
Is there anyway round this? I dont understand why it doesnt return the correct information. I did wonder if its perhaps because there are a number of entries in both fields?
ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
When you run the command get-aduser username -Properties *
Do you see the property in there?

I know some properties won't show if they have empty values

what happens when you pipe get-aduser username -properties * | get-member
Avatar of Pau Lo
Pau Lo

ASKER

footech, no we didnt add the export to csv command
Can you post a screenshot of the console after you've run the command?
Avatar of Pau Lo

ASKER

footech sorry my mistake it was an issue when using the export-csv command, the results did show up in console, or if blank showed as

{ }

Many Thanks