首页 > 解决方案 > 术语“Get-MessageTrackingLog”未被识别为 cmdlet 的名称

问题描述

我正在使用powershell,我只是在使用Get-MessageTrackingLog之后login/Authentication

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri “https://outlook.office365.com/powershell-liveid/” -Credential $UserCredential -Authentication Basic -AllowRedirection/ .

但我收到以下错误:

Get-MessageTrackingLog 未被识别为 cmdlet 的名称

我想搜索邮箱中的所有电子邮件。

标签: powershelloffice365

解决方案


错误消息指出 Powershell 环境没有函数定义,但Get-MessageTrackingLog无法识别 cmdlet。

Cmdlet Get-MessageTrackingLogExchange Powershell 模块的一部分。

为了使用该模块中的任何功能,您需要安装然后加载它


推荐阅读