1.Create a local group named "TESTGROUP"
2.Create three local users
net user brad /add
net user mary /add
net user jack /add
3.Create a Text file in C:\Temp\members.txt with the three local user
brad
mary
jack
C:\FOR /F %u IN (C:\Temp\members.txt) DO net locagroup TESTGROUP %u /ADD
沒有留言:
張貼留言