Title: With ShowWindow, Get-Help does not display examples · Issue #26676 · PowerShell/PowerShell · GitHub
Open Graph Title: With ShowWindow, Get-Help does not display examples · Issue #26676 · PowerShell/PowerShell
X Title: With ShowWindow, Get-Help does not display examples · Issue #26676 · PowerShell/PowerShell
Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerShell 5.1 and PowerShell. Steps to reprodu...
Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/26676
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"With ShowWindow, Get-Help does not display examples","articleBody":"### Prerequisites\n\n- [x] Write a descriptive title.\n- [x] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\n- [x] Search the existing issues.\n- [x] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\n- [x] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\n\n### Steps to reproduce\n\n`Get-Help Get-Help -ShowWindow`\nThen compare the code of the examples with what is on screen when you call `Get-Help Get-Help` or `Get-Help Get-Help -Online`.\n\n### Expected behavior\n\n```console\nSee the source code of the different examples\n```\n\n### Actual behavior\n\n```console\nAgain the source code of the examples is hidden when the user use `-ShowWindow` parameter\n```\n\n### Error details\n\n```console\n\n```\n\n### Environment data\n\n```powershell\nName Value\n---- -----\nPSVersion 7.5.4\nPSEdition Core\nGitCommitId 7.5.4\nOS Microsoft Windows 10.0.26200\nPlatform Win32NT\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\nPSRemotingProtocolVersion 2.3\nSerializationVersion 1.1.0.1\nWSManStackVersion 3.0\n```\n\n### Visuals\n\n\u003cimg width=\"1243\" height=\"900\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/7e078439-9e19-4061-a5a0-7f6873c6e148\" /\u003e","author":{"url":"https://github.com/40tude","@type":"Person","name":"40tude"},"datePublished":"2026-01-10T10:03:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/26676/PowerShell/issues/26676"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6bb1b3ba-b192-f993-bb95-1b5eca8166c7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CFC2:26E090:DEE38:11C2BC:696472CB |
| html-safe-nonce | 6950c2c64f9367acbb479255b5cc7409fe81ebfac946b4661e2e97c42b149504 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkMyOjI2RTA5MDpERUUzODoxMUMyQkM6Njk2NDcyQ0IiLCJ2aXNpdG9yX2lkIjoiNTU5MDA5MDQ3MDg1MTM3NTgxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a066a671e4d4fb85648196590ea97b59b0976de32809cd7c103112335e3b17b8 |
| hovercard-subject-tag | issue:3799455256 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/26676/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c5aeed490eedd3de1fabedbf34c9c84391b7796fe79d05ec0f076684cd4379de/PowerShell/PowerShell/issues/26676 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c5aeed490eedd3de1fabedbf34c9c84391b7796fe79d05ec0f076684cd4379de/PowerShell/PowerShell/issues/26676 |
| og:image:alt | Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 40tude |
| hostname | github.com |
| expected-hostname | github.com |
| None | baa7d9900fdf7b27d604f36887af878d569cfbdcf97126832a5f4f0caf0c6ba5 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 842eff1d11f899d02b6b3b98fa3ea4860e64b34e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width