Skip to content

Close-OneCalendar

Closes the OneCalendar app

TaskKill /f /im CalendarApp.Gui.Win10.exe
if ($lastExitCode -ne 0) {
	& "$PSScriptRoot/speak-english.ps1" "Sorry, OneCalendar isn't running."
	exit 1
}
exit 0 # success

This script has no configurable parameters.

An interactive directory of PowerShell scripts.