当前位置:网站首页 > 更多 > 玩电脑 > 正文

[玩转系统] 术语“Connect-ExchangeOnline”未被识别

作者:精品下载站 日期:2024-12-14 20:56:52 浏览:14 分类:玩电脑

术语“Connect-ExchangeOnline”未被识别


[玩转系统] 术语“Connect-ExchangeOnline”未被识别

尝试使用 PowerShell 连接到 Exchange Online 时,您可能会收到以下错误消息:

PS C:\> Connect-ExchangeOnline
Connect-ExchangeOnline: The term 'Connect-ExchangeOnline' is not recognized
as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.

这表明您的系统中缺少 ExchangeOnline PowerShell 模块

幸运的是,您可以通过运行以下 PowerShell 命令轻松解决此问题:

Install-Module ExchangeOnlineManagement

此命令会自动连接到 PowerShell 库并下载最新版本的 ExchangeOnline 模块。

下载完成后,您就可以连接到 Exchange Online。现在应该会产生以下漂亮的输出:

PS C:\> Connect-ExchangeOnline

----------------------------------------------------------------------------------------
This V3 EXO PowerShell module contains new REST API backed Exchange Online cmdlets which doesn't
require WinRM for Client-Server communication. You can now run these cmdlets after turning off
WinRM Basic Auth in your client machine thus making it more secure.

Unlike the EXO* prefixed cmdlets, the cmdlets in this module support full functional parity with
the RPS (V1) cmdlets.

V3 cmdlets in the downloaded module are resilient to transient failures, handling retries and
throttling errors inherently.

However, REST backed EOP and SCC cmdlets are not available yet. To use those, you will need to
enable WinRM Basic Auth.

For more information check https://aka.ms/exov3-module
----------------------------------------------------------------------------------------

PS C:\>

有关 ExchangeOnline 模块的高级故障排除或从模块运行命令的信息,请阅读本文。

如何从 AD 管理 Office 365 邮箱

许多管理员对您需要 PowerShell 来配置日历委派、Outlook 自动映射等感到沮丧。

借助 Easy365Manager,所有日常 Office 365 邮箱操作都可以在 AD 用户和计算机中进行。

Easy365Manager 是 AD 用户和计算机的一个小型管理单元,可在用户属性中启用两个新选项卡:

[玩转系统] 术语“Connect-ExchangeOnline”未被识别

[玩转系统] 术语“Connect-ExchangeOnline”未被识别

这两个新选项卡中的功能允许您配置高级 Office 365 邮箱设置,例如日历委托(否则只能通过复杂的 PowerShell 脚本实现):

与标准管理工具相比,Easy365Manager 具有以下优势:

  • 您可以使用一个熟悉的界面(AD 用户和计算机)进行工作,而不是使用 Web 控制台和 PowerShell 的混合包。
  • 您无需担心属性权限(您可以在一个地方管理所有内容)。
  • 初级管理员可以零学习曲线管理混合 Office 365。
  • 您可以删除本地 Exchange Server(节省时间和金钱并减少攻击面)。

阅读此处了解许多功能。

在此下载功能齐全的 30 天试用版。

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯