Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2068
  • Last Modified:

Dsadd user and Dsadd group commands

I have a question here from a study guide

If you're given 10 users in active directory that need to be put into a gloabal group via the dsadd command. Why would you use the 'dsadd group' command and NOT the 'dsadd user' command

Isn't 'dsadd user' used for adding users to a certain place, where as 'dsadd group' is used for adding groups to a ceertian place.

Or am i just getting confused

1 Solution
Because you are working with the Group, you would use:

dsadd group <group DN> -members {members DNs here} -server {your DC}

Using dsadd user is for manuipulating user accounts and attributes.  You CAN use dsadd user, but it can only be used one user at a time.  Dsadd group allows you to run it against multiple accounts.


Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now