免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2237 | 回复: 2
打印 上一主题 下一主题

新装的exchange 2010,命令不能使用 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-08-04 13:51 |只看该作者 |倒序浏览
本想试一下get-mailbox,可提示如下错误:{:6_703:}
  1. [PS] D:\\>get-mailbox
  2. The term \'get-mailbox\' is not recognized as the name of a cmdlet, function, scr
  3. ipt file, or operable program. Check the spelling of the name, or if a path was
  4. included, verify that the path is correct and try again.
  5. At line:1 char:12
  6. + get-mailbox <<<<
  7.     + CategoryInfo          : ObjectNotFound: (get-mailbox:String) [], Command
  8.    NotFoundException
  9.     + FullyQualifiedErrorId : CommandNotFoundException
复制代码
我还需要做什么动作才能使用这些命令吗?

论坛徽章:
0
2 [报告]
发表于 2010-08-05 04:41 |只看该作者
Exchange 命令行管理程序是一个功能强大的命令行管理界面,基于 Windows PowerShell v2 构建,
如果未使用 Exchange 命令行管理程序快捷方式启动 Windows PowerShell,并且尝试运行 Exchange cmdlet(如 Get-Mailbox),则会出现错误。因为 Get-Mailbox cmdlet 不存在于核心 Windows PowerShell cmdlet 集中。命令行管理程序连接到 Exchange 2010 服务器供您使用之后,必须由命令行管理程序添加 Get-Mailbox。
所以,首先应该做的事为:打开 Exchange 命令行管理程序。只需依次单击“开始”、“所有程序”、“Microsoft Exchange Server 2010”和“Exchange 命令行管理程序”即可。

参考:http://technet.microsoft.com/zh-cn/library/dd795097.aspx

论坛徽章:
0
3 [报告]
发表于 2010-08-06 17:26 |只看该作者
偶重启一下服务器就OK了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP