Create and Manage AD Users and Computers Flashcards
ADUC
Active Directory Users and Computers
ADAC
Active Directory Administrative Center. Runs on top of Windows Power shell.
UPN Suffix
Method of Logging on with your domain name in the user prompt. For example, (DOMAIN\username or Username@domain)
Template User AD Account
Blank Password.
- User Cannot Change Password.
- Account disabled.
- Password Never Expires.
Profile Path:
\file1\share1\%username%
Last Logon date for Users (Old Way)
get-aduser -filter * -Properties lastlongondate | ft name, lastlogondate
Remove disabled accounts (Old Way)
get-aduser -filter {enable -ne $true}
Find Disabled accounts (New way)
Search-AdAccount -AccountDisabled -useronly | fl name
Find Inactive Accounts (new Way)
Search-ADAccount -accountinactive -timespan 30:00:00:00 | fl name
Find Passwords Expired on accounts (New Way)
Search-Adaccount -Passwordexpired
Find Passwords that never expire (new way)
Search-Adaccount -passswordneverexpires
Find Locked out AD accounts
Search-ADAccount -LockedOut
CSVDE
Uses CSV to perform bulk operations in AD. Default is to export information. i.e, csvde -f output.csv.
CSVDE filtering containers & objects
csvde -f output2.csv -d “cn=users, dc=company, dc=pri” -r “(objectclass=user)”
CSVDE Import File
csvde -i -f output2.csv
LDIFDE
creates, modifies, and deletes directory objects. You can extend the schema, export AD users and group information to other applications or services, and populate AD DS with data from other directory servers.
Requires admin cmd prompt, and AD DS or AD LDS roles.
output format is in ldif.
ldifde -f output3.ldf