Close-Outlook
Closes the Microsoft Outlook app
TaskKill /im outlook.exe
if ($lastExitCode -ne 0) {
& "$PSScriptRoot/speak-english.ps1" "Sorry, Microsoft Outlook isn't running."
exit 1
}
exit 0 # successThis script has no configurable parameters.
Closes the Microsoft Outlook app
TaskKill /im outlook.exe
if ($lastExitCode -ne 0) {
& "$PSScriptRoot/speak-english.ps1" "Sorry, Microsoft Outlook isn't running."
exit 1
}
exit 0 # successThis script has no configurable parameters.