Powershell: Is Microsoft Word Installed ?

A quick script to check if Microsoft Word is Installed….

if ((dir  REGISTRY::HKEY_CLASSES_ROOT\Word.Application) -eq $Null){
       Write-Host "Microsoft Word not installed"
}
Else
{
       Write-Host "Microsoft Word Detected"
}

Leave a Reply

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.