KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to call an external application (i.e. & 'Notepad' ) and then get the process ID of the called application. Get-Process Notepad = will return all Notepad processes I want to do something like: $objApp = & 'c:\Notepad.exe' WHILE (get-process -ID $objApp.id | select -property Responding) { Start-Sleep -s 10 Echo "STILL WAITING" } Echo "Done!!"
Tags (comma-separated)
Save Edits
Cancel