Jump to content

Recommended Posts

Posted
I used to use Active User Manager to import new users when I'm doing a bulk import before upgrading to 2K12 domain/servers. It doesn't seem to be compatible with the new OS. Anyone have a tool that is?
Posted

Powershell ;)

 

Given microsoft's changes to try and push powershell / gui-less servers etc, it's probably worth spending a bit of time learning it. I've spent last few months on and off porting some old c# code (that used to create AD users etc) to powershell.

 

The New-AdUser cmdlet, generates an AD user, we use similar to the below for parent accounts:

 

New-ADUser -Name $username -SamAccountName $username -GivenName $forename -Surname $surname -DisplayName $display -Path $path -AccountPassword (ConvertTo-SecureString $password -AsPlainText -force) -PasswordNeverExpires $True -Enabled $true -Description $id -UserPrincipalName $upn

 

For students/staff etc, you'd probably want to add some additional options i.e. home directory

 

Following adds a user to a group:

 

Add-ADGroupMember $group $username

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...