AD Powershell Flashcards
Get-ADGroupMember
Gets the members of a specific AD Group
Get-ADObject
Gets one or more AD objects depending on a search base or criteria
Get-ADUser
Gets one or more AD users. Can be used to get all users or users whose SAMID contains certain words.
Move-ADObject
Moves an Active Directory object or a container of objects to a different container or domain.
New-ADObject
Creates an Active Directory object.
New-ADComputer
Creates a new AD computer. Does not join a computer to the domain
Set-ADAccountControl
Modifies user account control (UAC) values for an Active Directory account. Such as CannotChangePassword and PasswordNeverExpires
Set-ADDomain
Used to modify attributes of an AD Domain such as ManagedBy attribute or allowed DNSSuffixes
Set-ADForest
Used to modify attributes of an AD Forest such as UPN or SPN suffixes
Set-ADForestMode
Sets the forest functional level
Set-ADDomainMode
Sets the domain functional level
Add-ADPrincipalGroupMembership
The Add-ADPrincipalGroupMembership cmdlet adds a user, group, service account, or computer as a new member to one or more Active Directory groups.
Get-ADPrincipalGroupMembership
Gets the Active Directory groups that have a specified user, computer, group, or service account.
Set-ADOrganizationalUnit
The Set-ADOrganizationalUnit cmdlet modifies the properties of an Active Directory organizational unit. Can be used to change the managedby attribute.
Get-ADGroupMember
Gets all the members of a group