Active Directory with PowerShell from Cerewro

The PowerShell ActiveDirectory module allows managing users, groups, organizational units (OU) and group policies directly from Cerewro's chat, automating onboarding, offboarding and domain audits.

Create new domain user
New-ADUser -Name "John Smith" -SamAccountName "jsmith" -UserPrincipalName "jsmith@company.com" -AccountPassword (ConvertTo-SecureString "P@ssw0rd!" -AsPlainText -Force) -Enabled $true
Find inactive users
Search-ADAccount -AccountInactive -TimeSpan 90.00:00:00 | Select-Object Name, LastLogonDate

Most used cmdlets

CmdletFunction
Get-ADUserGet information about a user
New-ADUserCreate a new user
Set-ADUserModify user attributes
Disable-ADAccountDisable an account
Add-ADGroupMemberAdd user to a group
Get-ADGroupMemberList group members
From Cerewro: automatic onboarding
Create user jsmith in AD, add them to the "Sales" group, set their initial password and send them an email with access instructions