How To Copy Active Directory User Accounts With PowerShell

When creating users, you often find that you write in a lot of attributes that you already have set on other users. Wouldn’t it just be lovely if you could copy them? Well, guess what, you can! Using the Active Directory module in PowerShell you can copy attributes from other users when creating a new user.

In this snip, Anthony will walk you through how to copy a user in Active Directory using PowerShell. He’ll show you how to create a user object using Get-ADUser and then use that object to create a new user using the New-ADUser cmdlet, focusing on the -Instance parameter.

Prerequisites include: - Active Directory PowerShell module