Create and Manage ADUC Flashcards
What are the different methods to create AD Users and computers?
Through ADUC, the AD Admin Center, or through PowerShell.
*Note: Cannot copy accounts within AD Admin Center
How do you configure AD templates?
- Within ADUC, navigate to the corresponding OU where a template is needed and right click in that OU and select New > Template.
- Once a template has been created, right click on the template and select Copy to create a new account from that template.
How do you automate the creation of Active Directory accounts?
Automation is done through PowerShell using the Get, Set, New, and Remove cmdlets tied in with ADUser or ADComputer.
Within the PowerShell ISE, contains different parameter sets to pre-stage before running the command.
What PowerShell command is used to disable accounts in AD?
Disable-ADAccount -Identity
What PowerShell command is used to enable accounts in AD?
Enable-ADAccount -Identity
What PowerShell command is used to unlock accounts in AD?
Unlock-ADAccount -Identity
What PowerShell command is used to automate password resets?
Set-ADAccountPassword -Identity -Reset -NewPassword (ConvertTo-SecureString -AsPlainText -Force)
What PowerShell cmdlet is used to search the AD Database for filters such as inactive, disabled, or expiring accounts?
Search-ADAccount
What are two old school command-line utilities that can be used to export/import data from AD DS using the .csv format?
CSVDE and LDIFDE.
What PowerShell cmdlet is used to import AD DS data from a .csv file?
Import-Csv
How do you implement an offline domain join?
By utilizing the command-line utility djoin:
On DC, djoin /provision /domain /machine /savefile
On server to be joined, djoin /requestodj /loadfile /windowspath %systemroot% /localos