我的Exchange安装中缺少一些cmdlet [英] Some cmdlets are missing on my exchange installation

查看:150
本文介绍了我的Exchange安装中缺少一些cmdlet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,

Hello All,

我的环境中有两个Exchange 2013 SP1服务器,我尝试使用以下方法配置Autoreply功能命令如下。

I have two exchange 2013 SP1 server in my environment, I attempted to configure Autoreply functionality using the command below.

Set-RemoteDomain -AutoForwardEnabled $ true

Set-RemoteDomain -AutoReplyEnabled $ true

然后我收到此错误消息

Set-RemoteDomain:术语"Set-RemoteDomain"未被识别为cmdlet,函数,脚本文件或

可运行程序的名称。检查名称的拼写,或者如果包含路径,请验证路径是否正确并再次尝试



行:1字符:1

+ Set-RemoteDomain -AutoForwardEnabled $ true

+ ~~~~~~~~~~~~~~~~~
     + CategoryInfo          :ObjectNotFound:(Set-RemoteDomain:String)[],CommandNotFoundException

    + FullyQualifiedErrorId:CommandNotFoundException

Set-RemoteDomain : The term 'Set-RemoteDomain' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ Set-RemoteDomain -AutoForwardEnabled $true
+ ~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Set-RemoteDomain:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

我在第二台交换服务器上检查相同的命令它返回了同样的错误。我怀疑在安装过程中没有安装cmdlet。我从VLC下载了Exchange 2013  ISO,因此很可能ISO文件是这个缺失的
cmdltets的来源

I check the same command on the second exchange server and it returned same error. I suspect the cmdlets were not all installed during the setup. I downloaded the exchange 2013  ISO from VLC, so it is likely that the ISO file is the source of this missing cmdltets

无论如何都要导入所有cmdlet交换。

is there anyway to import all the cmdlet back into exchange.

推荐答案

您是在Windows PowerShell还是Exchange powershell中运行此命令?

Are you running this command in Windows powershell or Exchange powershell?

Set-remotedomain是cmdlet,用于为远程域配置托管连接。

Set-remotedomain is cmdlet to configure a managed connection for a remote domain.

如果为用户设置自动回复,则这是命令:

If setting autoreply for a user this is the command:

Set-MailboxAutoReplyConfiguration -Identity  user@domain.com -AutoReplyState Enabled -InternalMessage"内部自动回复消息。 -ExternalMessage"外部自动回复消息。"

Set-MailboxAutoReplyConfiguration -Identity user@domain.com -AutoReplyState Enabled -InternalMessage "Internal auto-reply message." -ExternalMessage "External auto-reply message."

对于转发,这是命令:

Set-Mailbox -Identity user@domain.com -ForwardingSMTPAddress
user2@domain.com 。所以我不能确定你想用你的命令实现什么,?

Set-Mailbox -Identity user@domain.com -ForwardingSMTPAddress user2@domain.com . So im not actualy sure what you want to achive with your command,?


这篇关于我的Exchange安装中缺少一些cmdlet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆