From fedf3472153dfa73805779feffaebdd76c052e1d Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 8 Mar 2020 20:09:34 +0000 Subject: [PATCH] Update 'upd.ps1' --- upd.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/upd.ps1 b/upd.ps1 index f3fd666..223b5d3 100644 --- a/upd.ps1 +++ b/upd.ps1 @@ -4,4 +4,8 @@ Start-Sleep -s 5 Start-Process microsoft-edge:https://geekprank.com/win10-update/ +$wshell = New-Object -ComObject wscript.shell; +$wshell.AppActivate('Microsoft Edge') +Sleep 2 +$wshell.SendKeys('{F11}') Start-Sleep -s 60