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

Generating Event ID 91, 44 with CA (In Event Viewer with source as Certsvc)

Group policy default policy cannot be edited because network name not found

Problem when changing update source