"NET GROUP" command question

B

BT

Is there a way to use the "NET GROUP" command to export a list of domain
admins to a text file? I try the following command, but get "the syntax of
this command is:" and all it does is give me the parameters.

net group domain admins /domain

What am I doing wrong? I want to export a list of the members of the domain
admins group to a text file. Any thoughts?

Thanks in advance.
 
J

Jerold Schulman

Is there a way to use the "NET GROUP" command to export a list of domain
admins to a text file? I try the following command, but get "the syntax of
this command is:" and all it does is give me the parameters.

net group domain admins /domain

What am I doing wrong? I want to export a list of the members of the domain
admins group to a text file. Any thoughts?

Thanks in advance.
See tip 4509 in the 'Tips & Tricks' at http://www.jsiinc.com if you want 1 colum output

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top