Created
May 16, 2019 16:22
-
-
Save Sadin/7e772a96e3562d564badb63cd0b15eec to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Dentech Kill Switch | |
# 5-16-19 | |
# Microsoft cant decide on one way to do things, so lets try all three. | |
# Get|Stop method | |
Clear-Host | |
Get-Process dtwin | Stop-process | |
# Name mthod | |
Clear-Host | |
Stop-Process -name dtwin | |
# PowerShell.kill() | |
Clear-Host | |
$dentech_process = Get-Process dtwin | |
$dentech_process.Kill() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment