diff --git a/upd.ps1 b/upd.ps1 index c1e99e1..4bf7e0c 100644 --- a/upd.ps1 +++ b/upd.ps1 @@ -1,4 +1,4 @@ -Start-Job -Name SleepForUpd -Scriptblock { +Invoke-Command -ComputerName . -AsJob -Scriptblock { Start-Sleep -s 5 - Invoke-WmiMethod -Class Win32_Process -Name Create -ArgumentList "https://geekprank.com/win10-update/" + Start-Process "https://geekprank.com/win10-update/" }