Created
March 6, 2016 20:31
-
-
Save gingeleski/0f1eeecab86643320b5a to your computer and use it in GitHub Desktop.
Kills Ergosuite processes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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