Skip to content

close-one-calendar

Closes the OneCalendar app

#Requires -Version 5.1

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

This script has no configurable parameters.

An interactive directory of PowerShell scripts.