Create multiple Users AD with CSV file

preview_player
Показать описание

Create multiple Users AD with CSV file

1. Prepare

Name Password OU

2. Step by step : Create Users AD with CSV file

- DC1 : Create Users AD with CSV file

+ Create users manual

+ Last Name : HiepNS + User logon name : HiepNS + Type and conform password - Finish

+ Create Users AD with CSV file

+ Server Manager - Tools - Active Directory Module for Windows PowerShell, type :

+ Import-csv C:\User\UsersAD.csv | ForEach-Object {New-AdUser -Name $_.Name -UserPrincipalName $_.Name -Path $_.OU

-AccountPassword(ConvertTo-SecureString $_.password -AsPlainText -Force) -Enabled $True -ChangePasswordAtLogon $True}

+ Check again

Рекомендации по теме