Uninstall-Outlook
Uninstalls Outlook
try {
"? Uninstalling Outlook for Windows..."
Remove-AppxPackage -AllUsers -Package (Get-AppxPackage Microsoft.OutlookForWindows).PackageFullName
"? Outlook for Windows has been removed."
exit 0 # success
} catch {
"?? ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))"
exit 1
}This script has no configurable parameters.