Write-Output "Clearing Outlook auto complete cache" Try { Start-Process "outlook.exe" -ArgumentList "/CleanAutoCompleteCache" -ErrorAction Stop } Catch { Write-Error $_.Exception.Message }