You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document -WindowStyle Hidden behavior change on Windows 11 24H2+ #12897
The fix uses consoleAllocationPolicy=detached in the pwsh.exe manifest and AllocConsoleWithOptions to allocate the console programmatically — invisibly when -WindowStyle Hidden is specified.
Pages to update
about_pwsh — The -WindowStyle parameter section should note that on Windows 11 24H2+, -WindowStyle Hidden prevents console window creation entirely (rather than creating then hiding).
Activity