Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This is because the timeout command only stops the execution of a command or script for a specified time period, and then allows it to continue running after the timeout period is over. It does not terminate the program or script.

To terminate a program in PowerShell, you can use the Stop-Process cmdlet.