powershell - 术语“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 的名称
我想搜索邮箱中的所有电子邮件。
解决方案
错误消息指出 Powershell 环境没有函数定义,但Get-MessageTrackingLog
无法识别 cmdlet。
Cmdlet Get-MessageTrackingLog是Exchange Powershell 模块的一部分。
为了使用该模块中的任何功能,您需要安装然后加载它。
推荐阅读
- javascript - 我需要返回不和谐的用户标签,他会被提及
- r - 根据名称绘制某些列
- scala - 使用akka-http时的问题,circe
- javascript - 如何在 Create React App 的 jest config 中设置时区?
- verilog - iverilog 错误:赋值语句左值中的语法
- python-3.x - 如何从 Python 中创建的按钮类中关闭 kivy 弹出窗口
- python - 如何在kivy的屏幕之间发送输入?
- reactjs - 如何在 Next-i18next / React i18next 中插入一个 Link 组件来改变文本中的位置
- python - python azure sdk - 克隆服务器
- android - 项目选项卡卡在加载屏幕上 如何查看左侧的项目文件夹?