These do not work
Code: Select all
Stop-Process -Name cmd.exe -Force
Code: Select all
Stop-Process -Name CMD -Force
Moderator: DosItHelp
Code: Select all
Stop-Process -Name cmd.exe -Force
Code: Select all
Stop-Process -Name CMD -Force
Code: Select all
(Get-Process cmd).Kill()
Code: Select all
@echo off
timeout /t 10
pause
Code: Select all
Stop-Process -Name cmd -Force
(Get-Process cmd).Kill()
Code: Select all
Stop-Process -Name timeout -Force
Code: Select all
(Get-Process timeout).Kill()
And I have discovered a second [unrelated] case in which using of the
Code: Select all
timeout