Loading page
Draft file, registry, MSI, and script detection rules you can paste into a Win32 app. Test on a device before rolling out.
Intune UI notes
File exists Path: C:\Program Files\App\app.exe Detection: File or folder exists Also check version >= 1.0.0
PowerShell detection
$p = 'C:\Program Files\App\app.exe'
if (Test-Path -LiteralPath $p) {
$v = [version](Get-Item -LiteralPath $p).VersionInfo.FileVersion
if ($v -ge [version]'1.0.0') { Write-Output 'Detected'; exit 0 }
exit 1
}
exit 1