- Identity with Windows Server 2016:Microsoft 70-742 MCSA Exam Guide
- Vladimir Stefanovic Sasha Kranjac
- 184字
- 2021-07-02 13:40:48
Configuring templates
As mentioned earlier, only the Active Directory Users and Computers MMC Snap-in gives you the ability to copy a user account. With the new Active Directory Administrative Center MMC Snap-in or PowerShell, it isn't possible to copy a user account. However, from Windows Server 2012, you can create a user account with the most common parameters for a specific job role or department configured and use that account as a template. As mentioned earlier, attributes that are copied to the new user account are as follows:
- Group memberships
- Home directories
- Profile settings
- Logon scripts
- Logon hours
- Password settings
- Department name
- Manager
The template user account can be created using PowerShell or either of the MMC Snap-ins. Creating a new user account from the template can be done with the Active Directory Users and Computers MMC Snap-in with the copy option, as mentioned earlier, or using the PowerShell command:
$Template = Get-ADUser -Identity vladimir.stefanovic -Properties Company
New-ADUser -GivenName John -Surname Doe -Name "John Doe" -UserPrincipalName john.doe@mcsacertguide.local -SamAccountName john.doe –AccountPassword (Read-Host –AsSecureString "Enter password") -Enabled $true -Instance $Template
- 通信工程施工工藝手冊(cè)
- 電力電子裝置中的信號(hào)隔離技術(shù)
- Altium DXP 2004電路設(shè)計(jì)
- Android 10 Kotlin編程通俗演義
- 高可靠性電子裝備PCBA設(shè)計(jì)缺陷案例分析及可制造性設(shè)計(jì)
- iPhone玩家必備
- 數(shù)字電路與系統(tǒng)
- 短視頻制作實(shí)戰(zhàn) 策劃 拍攝 制作 運(yùn)營(yíng)(全彩慕課版)
- Android App Inventor項(xiàng)目開(kāi)發(fā)教程
- 揭秘視頻號(hào):像搭積木一樣拼出爆款短視頻
- 光傳輸網(wǎng)絡(luò)技術(shù):SDH與DWDM(第2版)
- 現(xiàn)代交換原理與技術(shù)(第2版)
- 第三代移動(dòng)通信技術(shù)(第2版)
- 電子愛(ài)好者入門(mén)
- Mastering Wireshark 2