Here are some more commands to manage Active Directory on a Windows Server 2019:
dsadd
: This command is used to add objects to Active Directory, including users, groups, computers, and organizational units. It allows you to specify various attributes of the object, such as the object name, description, and group memberships.dsquery
: This command is used to query Active Directory for information about objects. It allows you to search for objects based on various criteria, such as name, type, or attribute values. This command is particularly useful for finding specific objects in large Active Directory environments.dsmod
: This command is used to modify objects in Active Directory. It allows you to change various attributes of an object, such as its name, description, group memberships, and security settings. This command is particularly useful for making bulk changes to objects in Active Directory.dsrm
: This command is used to remove objects from Active Directory. It allows you to delete objects, such as users, groups, or computers, along with all their associated attributes and permissions.netdom
: This command is used to manage domains and domain controllers. It allows you to join a computer to a domain, create trusts between domains, and manage domain controller roles and configurations.repadmin
: This command is used to manage replication between domain controllers. It allows you to force replication, check the status of replication, and diagnose replication issues.dcdiag
: This command is used to diagnose issues with domain controllers. It allows you to check the health of the Active Directory environment, identify replication issues, and diagnose problems with DNS.
Using these commands, you can perform a wide range of tasks related to managing Active Directory, from adding new objects to removing old ones, and from querying for information to diagnosing problems. It’s important to note that there are many more commands available for managing Active Directory, and the specific commands you use will depend on your needs and the requirements of your environment.