针对服务器 2007 在管理工具 2010 上运行远程电源外壳 get-activesyncdevice 时出错



我们公司有很多站点,有些服务器是2007年,有些是2010年,我在win2008中安装了exchange管理工具版本是2010,并尝试报告所有activesync设备。

首先,我运行get-activesyncdevice,它会导致异常。

PS C:Usersadministrator.BECK07> Get-ActiveSyncDevice -Mailbox "perf-user0611"
The Get-ActiveSyncDevice cmdlet can only retrieve device information for 14 mailboxes.
At line:1 char:1
+  <<<< Get-ActiveSyncDevice -Mailbox "perf-user0611"
    + CategoryInfo          : InvalidArgument: (:) [], TaskNotSupportedOnVersionException
    + FullyQualifiedErrorId : AFA99CB5

所以,我想我可以使用命令get-activesyncdevicestatistic,但它仍然弹出一个异常。

PS C:Usersadministrator.BECK07> Get-ActiveSyncDeviceStatistics -mailbox "perf-user0611"
Get-ActiveSyncDeviceStatistics : The Get-ActiveSyncDeviceStatistics command that you are trying to run, which is version 14, requires that the target mailbox account is on a Mailbox server that is the same version. The command wasn't able to process your request because the target mailbox account is on a Mailbox server with version 8. Please use this version (Version: 8) of the Get-ActiveSyncDeviceStatistics command.
At line:1 char:31
+ Get-ActiveSyncDeviceStatistics <<<<  -mailbox "perf-user0611"
    + CategoryInfo          : InvalidArgument: (:) [Get-ActiveSyncDeviceStatistics], ServerVersionNotSupportedException + FullyQualifiedErrorId : A81A5D,Microsoft.Exchange.Management.Tasks.GetMobileDeviceStatistics

如何获取邮箱版本为2007的动态同步设备信息? 提前致谢

这是我获得邮箱版本时的结果。

PS C:Usersadministrator.BECK07> Get-Mailbox "perf-user0611" | fl exchangeversion
ExchangeVersion : 0.1 (8.0.535.0)

Exchange 2010 管理工具不向后兼容。您需要安装这两个管理工具,并根据您管理的 Exchange 选择版本。

最新更新