Announcement

Collapse
No announcement yet.

Batch script to get results from dsquery

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Batch script to get results from dsquery

    Hello All,

    I am trying to get the following command into a batch script that will query a list of users from a text file and have the results of Display Name and Description output to a csv file. Any suggestions?
    Here's the command
    dsquery user -name userid | dsget user -display -desc
Working...
X