ExTS Admin BetaTime Posted August 23, 2018 ExTS Admin Posted August 23, 2018 I have this powershell code to close a program gracefully Get-Process MyProgram | Foreach-Object { $_.CloseMainWindow() | Out-Null } the problem is that it will pop-up a Windows asking user to hit 'OK' or to 'Cancel'! what powershell code I can force it selects OK and not prompts for user to interact? thanks. Thang Mo More... Quote Forum Squared | SEO Help Forum | Web Server Forum
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.