Microsoft Confidential User Account Management Examples Create User New-ADUser –name jpublic -SamAccountName jpublic ` -GivenName John -Surname Public -DisplayName John Public Import-Csv c:\pristine.csv | New-ADUser –Office Miami New-ADUser –name jpublic -SamAccountName jpublic ` -GivenName John -Surname Public -DisplayName John Public Import-Csv c:\pristine.csv | New-ADUser –Office Miami Modify User Set-ADUser -Identity jpublic –Title Engineer Get-ADUser –Filter {office –eq 'Miami'} | Set-ADUser –Office MIA Set-ADUser -Identity jpublic –Title Engineer Get-ADUser –Filter {office –eq 'Miami'} | Set-ADUser –Office MIA Delete User Remove-ADUser jpublic Get-ADUser –Filter {office –eq 'Miami'} | Remove-ADUser Remove-ADUser jpublic Get-ADUser –Filter {office –eq 'Miami'} | Remove-ADUser Targets Single AD Object Only.
{}