建立並執行PowerShell腳本、將腳本原則指派給 Microsoft Entra群組,以及使用報表來監視腳本。 請參閱刪除您在 Microsoft Intune 中 Windows 10/11 裝置上新增之腳本的步驟。 閱讀常見問題和解決方法。
From your description, I know you got the error of PowerShell execution has exceeded defined timeout. Based on my research, the error means a script takes longer to execute than the maximum time allowed by Intune. Here are some steps you can take to troubleshoot and resolve this issue: ...
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. Uninstallation of Sophos works but not the MSI installation... Description Start-Transcript...
Windows 设备使用 PowerShell 脚本。 Linux 设备可以运行任何语言的脚本,只要在设备上安装并配置了相应的解释器。 发现脚本将作为自定义合规性策略的一部分部署到设备。 在设备上运行符合性时,脚本会发现 JSON 文件定义的设置,这些设置也通过自定义合规性策略提供。 所有发现脚本: 在创建符合性策略之前,已添加到 In...
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 fail... I did the same thing for a Customer of us, created a Win32 packa...
Turn on PowerShell Script Block Logging Baseline default: Enabled Learn more Log script block invocation start / stop events: Baseline default: False Windows Components > Windows Remote Management (WinRM) > WinRM Client Allow Basic authentication Baseline default: Disabled Learn more Allow unencrypted...
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 ...
If you need to do special configuration of the OS, applications or user settings you can do that through PowerShell scripts, you write the scripts and our agent makes sure it’s run in user or system context. Configuration possibilities are endless with PowerShell script support!
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 crea...
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...