Welcome › Forums › General PowerShell Q&A › closing application window on powershell
I have this bit of code that opens a self made application and presses return.
I want to then close the application but I cannot get it to close. This is my code. Anyone help? Thanks.
I would change line 1 to:
Then when you are done with your SendKeys you can:
yes. perfect. Thanks very much 🙂