Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Buckwheat469

    check if processis running

    if((get-process "notepad" -ea SilentlyContinue) -eq $Null){ echo "Not Running" }else{ echo "Running" } This should cover it. I've tested it and it works fine. You can put anything in the braces, or you can use this in a while loop to wait for a process to die.

Part and Inventory Search

Back
Top