nav2567
asked on
export AD attribute
what tool I can use to display the distingushed name and IP phone field of an user? Or export these info to a file?
Thanks in advance.
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can also get the complete data into a CSV file ...... meaning all attribute information and then filter
csvde -f C:\user.csv
csvde -f C:\user.csv
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I appreciate for everyone's feedback. I am still exploring which option is best to use.
I am not sure if it is my all_employees_group has too many members, I am not able to use the following to display the info I need. If I specify another group with less members, it works. Please advise.
dsquery group -name all_employees_group |dsget group -members |dsget user -dn -iptel
I am not sure if it is my all_employees_group has too many members, I am not able to use the following to display the info I need. If I specify another group with less members, it works. Please advise.
dsquery group -name all_employees_group |dsget group -members |dsget user -dn -iptel
By default, dsquery only retrieves the first 100 results. Include -limit 0 before the first pipe to bypass this.
ASKER
Thanks. I also realize using a -c switch will bypass the errors.
Last question to everyone, if I need to update the ip phone field for all users, can I use the similar trick?
Last question to everyone, if I need to update the ip phone field for all users, can I use the similar trick?
Yes, you can use dsmod with the -iptel switch.
ASKER
The suggestion by Shift-3 seems to work better for our issue. But also appreciate the other two members jump in and help.
Thanks everyone again.
Thanks everyone again.
Open in new window