Hello,
I am attempting to check whether Outlook is installed on a PC, before attempting to force start it.
I would like to use the shortcut name "Outlook" instead of directly typing the whole path to outlook as that may vary per OS/version.
I tried:
$OutlookProcess="Outlook" if (Test-Path $Outlook) { Start-Process $OutlookProcess }
without success.
Any pointers appreciated.
Many thanks in advance