added script

This commit is contained in:
2022-04-11 13:21:51 -04:00
parent 7f0026c74b
commit 4e433e880c
+5
View File
@@ -0,0 +1,5 @@
# Kill the reg.exe process if it has 3 or more instances running
$RegProcesses = Get-Process -Name 'reg'
If ( $RegProcesses.Count -ge 3 ) {
$RegProcesses | Stop-Process
}