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
 
Back
Top