In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Earlier, we introduced Windows Server 2016-graphical new domain users (1) and Windows Server 2016-batch new domain users (2), which mentioned batch new-aduser common accounts. Here is a simple supplement to the previous chapter. The specific information is as follows:
Command syntax:
New-ADUser [- Name] [- AccountExpirationDate] [- AccountNotDelegated] [- AccountPassword] [- AllowReversiblePasswordEncryption] [- AuthType {|}] [- CannotChangePassword] [- Certificates] [- ChangePasswordAtLogon] [- City] [- Company] [- Country] [- Credential] [- Department] [- Description] [- DisplayName] [- Division] [- EmailAddress] [- EmployeeNumber] [- Enabled] [- Fax] [- GivenName] [- HomeDirectory] [- HomeDrive] [- HomePage] [- HomePhone] [- Initials] [- Instance] [- LogonWorkstations] [- Manager] [- MobilePhone] [- Office] [- OfficePhone] [- Organization] [- OtherAttributes] [- OtherName] [- PassThru] [- PasswordNeverExpires] [- PasswordNotRequired] [- Path] [- POBox] [- ProfilePath] [- SamAccountName] [- ScriptPath] [- Server] [- ServicePrincipalNames] [- SmartcardLogonRequired] [- State] [- StreetAddress] [- Surname] [- Title] [- TrustedForDelegation] [- Type] [- UserPrincipalName] [- Confirm] [- WhatIf] []
Common field notes:
Name name AccountExpirationDate account expiry time City City Company Department Department Description description DisplayName display name EmailAddress email address EmployeeID employee IDEmployeeNumber employee number HomePhone home phone Manager manager MobilePhone office OfficePhone office phone Organization organization PasswordNeverExpires password never expired SamAccountName user login name (old version / without @) StreetAddress street address Title user login name UserPrincipalNameUPN user login name with @ character
Example: create a wen account:
New-ADUser-Name wen-SamAccountName wen-UserPrincipalName wen@a.com-AccountPassword (ConvertTo-SecureString "P@ssw0rd"-asplaintext-force)-enabled $true-ChangePasswordAtLogon $false
Welcome to the official account of Wechat: Xiao Wen study Society.
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.