Active Directory
39 commands. Toolkit id ooa.active_directory.
| Command | What it does |
|---|---|
| Add users to group | Add one or more users to a group (no error for users already in it). |
| Build distinguished name | Turn a readable path such as Corp/Sales/EMEA and a domain into a distinguished name (OU=EMEA,OU=Sales,OU=Corp,DC=corp,DC=example,DC=com), optionally ending with a user, group or computer name. |
| Connect | Sign in to Active Directory or an LDAP server. |
| Create computer | Create a computer account so a machine can join the domain. |
| Create group | Create a security or distribution group. |
| Create organizational unit | Create an organizational unit. |
| Create user | Create a user account in an organizational unit, optionally with a first password, and enable it. |
| Delete computer | Delete a computer account. |
| Delete group | Delete a group (its members are not deleted). |
| Delete organizational unit | Delete an organizational unit; with recursive, everything inside it is deleted too. |
| Delete user | Delete a user account. |
| Disable user | Disable a user account (for example when someone leaves). |
| Disconnect | Close the directory session. |
| Enable user | Enable a disabled user account. |
| Get computer properties | Read attributes of a computer account. |
| Get group members | List the members of a group, optionally including members of nested groups. |
| Get group properties | Read attributes of a group. |
| Get OU properties | Read attributes of an organizational unit. |
| Get user | Read a user's properties, finding the user by logon name, full name or distinguished name. |
| Move computer | Move a computer account to another organizational unit. |
| Move group | Move a group to another organizational unit; its members stay. |
| Move organizational unit | Move an organizational unit, with everything in it, under another parent. |
| Move user | Move a user to another organizational unit. |
| Remove users from group | Remove one or more users from a group (no error for users not in it). |
| Rename computer | Rename a computer account (object name and sAMAccountName); the machine itself is not renamed. |
| Rename group | Change a group's name, optionally also its pre-Windows 2000 name. |
| Rename organizational unit | Change the name of an organizational unit. |
| Rename user | Change the object name of a user (optionally also its display name), its sign-in name (sAMAccountName and the part of the UPN before @), or both. |
| Reset password | Set a new password (needs an ldaps:// connection), optionally forcing a change at next sign-in. |
| Run LDAP query | Run a raw LDAP filter from any starting point and scope and return the entries as a table. |
| Search | Run an LDAP filter and return matching entries as a table. |
| Set computer property | Change one attribute of a computer account, e.g. description or location. |
| Set group property | Change one attribute of a group, e.g. description or managedBy. |
| Set OU property | Change one attribute of an organizational unit, e.g. description or managedBy. |
| Set password | Set a user's password as an administrator (needs an ldaps:// connection), optionally unlocking the account. |
| Set user property | Change one attribute of a user, e.g. title or telephoneNumber; values can be replaced, added or removed. |
| Unlock user | Unlock an account locked by failed sign-ins. |
| Update account options | Turn account options on or off: enabled, password never expires, and must change password at next sign-in; empty options stay as they are. |
| Update user details | Change several details of a user in one step (names, description, office, phone, email, title, department, manager and any other attributes); empty inputs stay as they are. |