在powershell中添加邮箱,权限被拒绝

时间:2014-10-13 08:15:22

标签: powershell exchange-server

我正在尝试通过powershell在Exchange 2013上添加一个单个邮箱,并且获取和拒绝访问#39;错误。

PS C:\Software> Enable-Mailbox -Identity AreallyTest
Enable-Mailbox : Unable to generate the e-mail address. Unable to load address module 'X:\Exchange\Mailbox\address\SMTP\AMD64\inproxy.dll' for address type
'SMTP'. Additional message: 'Access is denied'.
At line:1 char:1
+ Enable-Mailbox -Identity AreallyTest
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Enable-Mailbox], RusException
+ FullyQualifiedErrorId : [Server=EXCH01,RequestId=cfea9121-4f0a-41f4-84e9 -2489f3228410,TimeStamp=10/13/2014 8:06:33 AM] [FailureCategory=Cmdlet-Rus Exception] 593F2A65,Microsoft.Exchange.Management.RecipientTasks.EnableMaiLbox

用户确实存在。 我是如何解决这个问题的?

2 个答案:

答案 0 :(得分:0)

Windows域命名是您出错的地方。

将NetBios域添加为这样的前缀:

Enable-Mailbox -Identity domain\AreallyTest

答案 1 :(得分:-1)

您必须在提升的控制台中运行命令(以admin身份运行)