From 1cf3573b9076d97178d24ac52f836e1b636b2eb1 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 8 Mar 2020 19:41:00 +0000 Subject: [PATCH] Update 'upd.ps1' --- upd.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/upd.ps1 b/upd.ps1 index 64f44a5..f3fd666 100644 --- a/upd.ps1 +++ b/upd.ps1 @@ -1,6 +1,7 @@ #Hiding PS console -Add-Type -Name win -MemberDefinition '[DllImport("user32.dll")] public static extern bool ShowWindow(int handle, int state);' -Namespace native -[native.win]::ShowWindow(([System.Diagnostics.Process]::GetCurrentProcess() | Get-Process).MainWindowHandle,0) +#Add-Type -Name win -MemberDefinition '[DllImport("user32.dll")] public static extern bool ShowWindow(int handle, int state);' -Namespace native +#[native.win]::ShowWindow(([System.Diagnostics.Process]::GetCurrentProcess() | Get-Process).MainWindowHandle,0) Start-Sleep -s 5 Start-Process microsoft-edge:https://geekprank.com/win10-update/ +Start-Sleep -s 60