How to Create an AD user using Powershell and verify the details.
new-aduser -Name "First Last" -DisplayName "First Last" -GivenName First -Surname Last -UserPrincipalName [email protected] -SamAccountName First.Last -Title "Sales Manager" -Description "Sales Manager" -accountpassword (Convertto-Securestring "P@ssw0rd1" -AsPlainText -Force) -enabled $true -PasswordNeverExpires $true -City Toronto -State ON -Country CA -Company "TechLive" -path "OU=Sales, OU=TechLive, DC=TechLive, DC=local"
Get-ADUser -Identity First.Last -Properties * | fl Name, DistinguishedName, Title, Samaccountname, enabled, city, state, country, company, memberof,primarygroup, whencreated, lastlogondate