# Create the user "Hareash S" in the AD_PowerShell OU New-ADUser -Name "Hareash S" ` -GivenName "Hareash" ` -Surname "S" ` -SamAccountName "HS" ` -UserPrincipalName "Hareash@Xceed.com" ` -AccountPassword (ConvertTo-SecureString "Welcome123$" -AsPlainText -Force) ` -Path "OU=AD_PowerShell,DC=Xceed,DC=com" ` -Enabled $true ` -OtherAttributes @{ title = "Admin"; department = "ITIS"; company = "TCS"; manager = "CN=Hari,OU=AD_PowerShell,DC=Xceed,DC=com" }