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

Azure MFA with Azure AD and RDS

Failed to setup initiator portal. Error status is given in the dump data.

Invalid pointer on gpresult /h gpreport.html