Skip to content

Close-ThreeDViewer

Closes the 3D-Viewer app

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

This script has no configurable parameters.

An interactive directory of PowerShell scripts.