【发布时间】:2018-01-22 10:57:32
【问题描述】:
如何在 Powershell 中更改 Active Directory 中的名称属性?
我想更改“名称”行,但是当我输入以下内容时出现错误:
Set-ADuser -Identity test1 -Name Test 11
错误信息:
Set-ADUser : A parameter cannot be found that matches parameter name 'Name'.
At line:1 char:28
+ Set-ADUser -Identity test1 -Name Test 11
+ ~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-ADUser], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.ActiveDirectory.Management.Commands.SetADUser
【问题讨论】:
标签: powershell active-directory