术语“Get-MessageTrackingLog”未被识别为 cmdlet 的名称

问题描述 投票:0回答:1

我使用的是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 的名称

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

powershell office365
1个回答
0
投票

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

Get-MessageTrackingLog

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

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

© www.soinside.com 2019 - 2024. All rights reserved.