Skip to content

Instantly share code, notes, and snippets.

@gingeleski
Created March 6, 2016 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gingeleski/0f1eeecab86643320b5a to your computer and use it in GitHub Desktop.
Save gingeleski/0f1eeecab86643320b5a to your computer and use it in GitHub Desktop.
Kills Ergosuite processes.
# for workplaces that have planted ergosuite s/w in the computers...
# get ergonomics s/w processes
$smergo = get-process smergo -erroraction silentlycontinue
$ergosuite = get-process ergosuite -erroraction silentlycontinue
if ($smergo) {
$smergo | stop-process -force
}
if ($ergosuite) {
$ergosuite | stop-process -force
}
remove-variable smergo
remove-variable ergosuite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment