我使用的是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 环境没有函数定义,但无法识别 cmdlet
Get-MessageTrackingLog
。
Cmdlet Get-MessageTrackingLog 是 exchange Powershell 模块的一部分。
为了使用此模块中的任何功能,您需要安装,然后加载它。