$outlook = Get-Process outlook -ErrorAction SilentlyContinue
if ($outlook) {
	$olApp = New-Object -ComObject Outlook.Application
	$olApp.Quit()
	Remove-Variable olApp
	
	Sleep 15

	if (!$outlook.HasExited) {
		$outlook | Stop-Process -Force
		}
	}
Remove-Variable outlook