Table of Contents

Powershell

  • List all applications
Get-WmiObject -Class Win32_Product
  • List applications by name
Get-WmiObject -Class Win32_Product | Where-object {$_.name -like "*Mobile*"}

Batch

reg Query HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall /S /v DisplayName | Find /I "SAP BusinessObjects Live Office 4.2 SP3"
IF %ERRORLEVEL%==1 (
echo "non present"
) ELSE (
Echo "present"
)

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.