I needed an easy way to create users in Active Directory.
PowerShell to the rescue … although it didn’t work out.
The PowerShell command New-ADUser depends on AD having web services enabled which is a feature that came out with 2008 R2 – needless to say the AD server I was working with didn’t have this. So I fell back to the good old fashioned command line: dsadd user.
I put together an excel with columns like this:
1
2
3
4
5
6
7
A-Company Name
B-User Prefix
C-First Name
D-Last Name
E-Email Address
F-Password
G-aformula togenerate the command using data inthe row...