How to do it...

Follow along to create a new user account in Active Directory by using the PowerShell command prompt:

  1. Launch a PowerShell command prompt as an Administrator.
  2. Enter the following command in order to create a new user account with very simple parameters:
     New-ADUser -Name "John Smith" -UserPrincipalName
      "jsmith@mydomain.local" -SamAccountName "jsmith"
  1. If you open up the GUI for Active Directory Users and Computers, you will see that John Smith has now been created as a User account. There aren't many properties that exist within this account, as it is pretty simple, but it will work in order to get a new user up and running: ...

Get Windows Server 2016 Administration Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.