Skip Ribbon Commands
Skip to main content

Quick Launch

Todd Klindt's home page > Todd Klindt's Office 365 Admin Blog > Posts > Creating AD Users from a Template with PowerShell
April 16
Creating AD Users from a Template with PowerShell

Whew, that’s quite a mouthful.

A month ago I did a guest video for Shane’s YouTube Channel on how to create Windows Active Directory users from a CSV file. It was well received, and one of the viewers left a comment asking how to do that, but copy an existing user when you create a new user. I thought that was an interesting topic, so I made a second view covering that.


Creating AD Users from a template with PowerShell

I reference a couple of files in the video.

Here is a file with all PowerShell commands I ran.

Here is the PowerShell transcript from the video.

As much as it pains me to send people to Shane’s channel, if you’re interested in PowerShell and creating users, check out my video.




thank you

this is almost too good to be true,haha
you make life easy Todd

cheers Mate
 on 4/2/2019 8:14 AM

how do i create a aduser with the default UPN

I have tried to create a ad user with the default UPN suffix via powershell but have been unsuccessful. Is it possible to for get he userpriniciplename and pass this to a set command usinf a pipe?
 on 2/25/2020 12:00 AM

Thanks Tod !

Helping me prepare for interviews with this good info :)
 on 11/24/2020 2:04 AM

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.


Body *

Today's date *

Select a date from the calendar.
Please enter today's date so I know you are a real person


Want a message when I reply to your comment? Put your Twitter handle here.