Close all popups pulled from running a an executable


i have been using powershell automate functions.  1 of them when call exe file process user accounts.  exe file produces popup.  looks form no options use x in corner close.

is there command in powershell close opened popups?


pfcjt@hotmail.com

hi,

to process holds popups, first close them all, , run:

$processes_before = get-process

then open popups, run:

$processes_after = get-process

then:

compare-object -referenceobject $processes_before -differenceobject $processes_after


regards, yan li



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS