PowerShell 复制 $scriptPath = read-host "Enter the path to the script file to execute" $logFolder = read-host "Enter the path to a folder to output the logs to" $outputPath = $logFolder+"\output.output" $errorP
PowerShell 複製 $scriptPath = read-host "Enter the path to the script file to execute" $logFolder = read-host "Enter the path to a folder to output the logs to" $outputPath = $logFolder+"\output.output" $errorPath = $logFolder+"\error.error" $timeoutPath = $logFolder+"\timeou...
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...
Install-Script-NameGet-AutopilotDiagnostics-Force 若要使用脚本检查生成的日志文件,请运行以下 PowerShell 命令: PowerShell Get-AutopilotDiagnostics-CABFile<pathToOutputCabFile> 确定意外重启 在设备设置阶段(帐户设置阶段不支持)的 ESP 上支持重新启动。 设备 ESP 过程中的重新启动必须由 Intune 管理。 例如,在...
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“Deploy-Application.exe” In...
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...