【问题标题】:Trying to get results from a powershell script executed through Intune MDM尝试从通过 Intune MDM 执行的 powershell 脚本获取结果
【发布时间】:2024-05-18 10:45:01
【问题描述】:

我通过 Azure AD 在自动注册的 MDM Intune 设备上运行了一个简单的审计 powershell 脚本。

谁能告诉我这些脚本的结果存储在哪里? 这真的让我很困惑,谷歌搜索只是让我在没有任何明确答案的情况下兜圈子。

任何建议表示赞赏!

【问题讨论】:

    标签: powershell azure audit intune


    【解决方案1】:

    来自我类似的 reddit 帖子!

    啊,当然! https://oliverkieselbach.com/2017/11/29/deep-dive-microsoft-intune-management-extension-powershell-scripts/

    我刚刚看到这个链接,该链接详细讨论了脚本的结果存储到临时文件,然后在执行后删除。但结果是保存在本地注册表中。

    我不知道我应该创建一个对象或使用 powershell 保存到 Azure AD;我认为对 opwershell 的 Intune 管理会使这变得更简单。我错了。不过谢谢你,我会看看使用 powershell 创建一个 Azure AD 对象来跟踪我的结果!

    【讨论】:

      最近更新 更多