Wednesday, September 28, 2011

DSget

Query a user's email address from AD given their username on the command line.

dsquery user -name magaluri |dsget user -samid -email -display