Home > OS >  Windows server 2019 Datacenter bulk import user groups and user name
Windows server 2019 Datacenter bulk import user groups and user name

Time:11-14

Environment: a single Windows server 2019 Datacenter operating system
Objective: to import a user name and user group
Resources: user id and user group document
Appeal: advice on how to import a user name and user group

CodePudding user response:

From a user name and user group import documents? The import command support document

CodePudding user response:

If there is a CSV file, use powershell to create,
ForEach ($user (in the Import - CSV./users. CSV)) {
The write - host $user. The username
The write - host $user. The password
}
  • Related