This script will help you to enable bulk Active Directory user accounts by importing users from CSV file. You can enable user account by using the Active Directory PowerShell cmdlet Enable-ADAccount with below syntax.

PowerShell
Edit|Remove
Enable-ADAccount -Identity <adaccount>
Create a csv file (Ex: Users.csv) which contains set of users to enable with the column header samAccountName.

Use the below command to run the script.

PowerShell
Edit|Remove
.\Enable-Bulk-AD-Users-From_CSV.ps1 -CSV_Filepath "C:\Scripts\Users.csv"