powershell 设置 userPrincipalName


PowerShell交流中心分类: Powershell基础powershell 设置 userPrincipalName
0
klay、 asked 5 年 ago

这是部分代码

Set-ADUser -Identity $user.SamAccountName -UserPrincipalName $userPN

这是csv文档
First Name,Last Name,SamAccountName,UserPrincipalName,Path,DisplayName,Group1,Group2
维斯,布鲁克,westbrook,”westbrook@clic.ad”,”OU=WEMTEST,OU=CLICServers,DC=CLIC,DC=AD”,神龟,disabledcreate,AH_4A_76_Users

为什么设置完成后 登录名@的后面是空的 还得下拉选择

1 Answers
0
klay、 answered 5 年 ago

user