dsquery * domainroot -filter "((objectCategory=Person)(objectClass=User)(sAMAccountName=Jon*)) -attr sAMAccountName userPrincipalName department To read the SAM account names, user principal names (UPNs), and department attributes of the object whose distinguished name is OU=Test,DC=Contoso,DC...
dsquery * domainroot -filter "((objectCategory=Person)(objectClass=User)(sAMAccountName=Jon*)) -attr sAMAccountName userPrincipalName department To read the SAM account names, user principal names (UPNs), and department attributes of the object whose distinguished name is OU=Test,DC=Contoso,DC...
Linux添加组是在Linux操作系统中对用户进行权限管理的重要操作之一。在Linux系统中,每个用户都属于一个或多个组。通过将用户添加到不同的组中,可以进行灵活的权限控制,以实现更好的安全性和管理。 要在Linux中添加一个组,可以使用命令行工具或者图形界面工具来完成。这里我们主要介绍使用命令行工具来添加组的方法。
dsquery * domainroot -filter "((objectCategory=Person)(objectClass=User)(sAMAccountName=Jon*)) -attr sAMAccountName userPrincipalName department To read the SAM account names, user principal names (UPNs), and department attributes of the object whose distinguished name is OU=Test,DC=Contoso,DC...
dsquery * domainroot -filter "((objectCategory=Person)(objectClass=User)(sAMAccountName=Jon*)) -attr sAMAccountName userPrincipalName department To read the SAM account names, user principal names (UPNs), and department attributes of the object whose distinguished name is OU=Test,DC=Contoso,DC...
dsquery * domainroot -filter "((objectCategory=Person)(objectClass=User)(sAMAccountName=Jon*)) -attr sAMAccountName userPrincipalName department To read the SAM account names, user principal names (UPNs), and department attributes of the object whose distinguished name is OU=Test,DC=Contoso,DC...
dsquery * domainroot -filter "((objectCategory=Person)(objectClass=User)(sAMAccountName=Jon*)) -attr sAMAccountName userPrincipalName department To read the SAM account names, user principal names (UPNs), and department attributes of the object whose distinguished name is OU=Test,DC=Contoso,DC...
(该对象的 DN 是 ou=Test,dc=microsoft,dc=com) 的 sAMAccountName, userPrincipalName 和 department 属性: dsquery * ou=Test,dc=microsoft,dc=com -scope base -attr sAMAccountName userPrincipalName department 要读取对象(该对象的 DN 是 ou=Test,dc=microsoft,dc=com) 的所有属性: ...
The token$username$(case insensitive) can be used to place the SAM account name. Entering * as a password will prompt for a new password. Adding multiple Objects For any DS command you can enter multiple values separated by spaces.
(该对象的 DN 是 ou=Test,dc=microsoft,dc=com) 的 sAMAccountName, userPrincipalName 和 department 属性: dsquery * ou=Test,dc=microsoft,dc=com -scope base -attr sAMAccountName userPrincipalName department 要读取对象(该对象的 DN 是 ou=Test,dc=microsoft,dc=com) 的所有属性: ...