为捕获.error和.output文件,以下代码片段会通过 AgentExecutor 将脚本执行到 PowerShell x86 (C:\Windows\SysWOW64\WindowsPowerShell\v1.0)。 它会保留日志以供查看。 请记住,Intune 管理扩展会在脚本执行后清除日志: PowerShell $scriptPath=read-host"Enter the path to the script file to execute"$logFolder...
为捕获.error和.output文件,以下代码片段会通过 AgentExecutor 将脚本执行到 PowerShell x86 (C:\Windows\SysWOW64\WindowsPowerShell\v1.0)。 它会保留日志以供查看。 请记住,Intune 管理扩展会在脚本执行后清除日志: PowerShell $scriptPath=read-host"Enter the path to the script file to execute"$logFolder...
建立並執行PowerShell腳本、將腳本原則指派給 Microsoft Entra 群組,以及使用報表來監視腳本。 請參閱在 Microsoft Intune 中刪除您在 Windows 10/11 裝置上新增之腳本的步驟。 閱讀常見問題和解決方法。
用于修正的 PowerShell 脚本 Learn 发现 产品文档 开发语言 主题 登录 本文原文为英文,已针对你所在市场进行了翻译。 你对所用语言的质量的满意度如何? 请告诉我们 消除警报 搜索 Microsoft Intune 文档 概述 评估并试用 计划 迁移到 Intune 部署Intune
On-Demand Powershell execution via Intune I have a powershell-script that will clear Teams Cache, this is a common troubleshooting step. Optimal solution: A button in endpoint manager that runs the script on target computer. Are there any simple solutions to create a On-Demand powershell ...
How deploy application using powershell script by intune ? Hi community! i'm trying to replace our anti virus Sophos by Checkpoint using script powershell. The script works fine if i execute it with admin permission on the client but by Intune it's failed. ...
The command from Deploy-Application to run the installer is as follows from the powershell script for PSADT. Execute-Process -Path “vs_Professional.exe” -Parameters ‘–config “ssconfig.vsconfig” --downloadThenInstall --wait’ Intune Install command ...
The Intune Deploy tool requires PowerShell 4.0 or higher. Supported Setup Types You can use the Advanced Installer Intune tool to deploy the following setup types: msi msix msixbundle appx appxbundle Script your deployment The Intune deployment tool comes with a command-line interface, so you ...
Upload it to Intune as a PowerShell script and assign it to your devices you like to protect: The script will create a local script on the device and a scheduled task to run it periodically. Remember if you don’t like the script to run on your devices anymore, you have to cre...
PowerShell Creating a Home Folder for Users Disk Space and Services Threshold Monitoring Exchange Server Health Check Bulk ADD Remove from Local Admin via CSV Failed to execute Troubleshoot-DatabaseSpace.ps1 Check UPN and SIP match Skype for Business Online Message tracking script Recoverable deleted...