In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly shows you "how to use dsadd to add users", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "how to use dsadd to add users" this article.
Description: this tool command adds some specific object types to the directory. Dsadd command:
Dsadd computer-add the computer to the directory.
Dsadd contact-add contacts to the directory.
Dsadd group-add the group to the directory.
Dsadd ou-add organizational units to the directory.
Dsadd user-add the user to the directory.
Dsadd quota-adds a quota policy to the directory partition.
To find help with a specific command, type "dsadd /?" here
Is the type of supported object shown above.
For example, dsadd ou /?.
Remarks:
Commas in distinguished names that are not used as delimiters must be escaped with the backslash ("\") character
(for example, "CN=Company\ Inc.,CN=Users,DC=microsoft,DC=com").
Backslashes used in distinguished names must be escaped with a backslash (for example
"CN=Sales\ Latin America,OU=Distribution Lists,DC=microsoft,DC=com").
Directory service command line tool help:
Dsadd /?-add help for objects.
Dsget /?-displays the object's help.
Dsmod /?-help to modify the object.
Dsmove /?-help with moving objects.
Dsquery /?-find help that matches the search criteria.
Dsrm /?-help to delete an object.
The code is as follows:
For / f "tokens=1,2,3,4,5,6 delims=," an in (information.csv) do dsadd user "cn=%d,ou=HR,dc=contoso,dc=com"-samid% d-upn% f@contoso.com-ln% b-fn% c-pwd% e-disabled yes
The above is all the content of the article "how to add users with dsadd". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.