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