Users and Groups

  • Thread starter Thread starter John Saville
  • Start date Start date
J

John Saville

Does anyone know how to add multiple users (>600) to a
group easily? Also does anyone know how to create
multiple Frontpage webs easily with the same number of
people?

Thanks

John
 
Does anyone know how to add multiple users (>600) to a
group easily? Also does anyone know how to create
multiple Frontpage webs easily with the same number of
people?

Thanks

John
To add multiple users to a group, Place the Username in a file.
If your domain is rogers.com and you place users like
john.doe
jane.doe
in a test file, you can then run the following batch file on your workstation:

@echo off
setlocal
for /f "Tokens=*" %%u in (c:\folder\filename.txt) do set user=%%u&call :parse
endlocal
goto :EOF
:parse
net group "Groupname" "rogers\%user%" /add /domain

Jerold Schulman
Windows: General 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

Back
Top