Title: Get-Help does not display whole example body · Issue #11340 · PowerShell/PowerShell · GitHub
Open Graph Title: Get-Help does not display whole example body · Issue #11340 · PowerShell/PowerShell
X Title: Get-Help does not display whole example body · Issue #11340 · PowerShell/PowerShell
Description: Steps to reproduce (Get-Help Out-Null).Examples Expected behavior PowerShell 5.1 > (Get-Help Out-Null).Examples ------------------- Example 1: Delete output ------------------- PS C:\> Get-ChildItem | Out-Null This command gets items in ...
Open Graph Description: Steps to reproduce (Get-Help Out-Null).Examples Expected behavior PowerShell 5.1 > (Get-Help Out-Null).Examples ------------------- Example 1: Delete output ------------------- PS C:\> Get-ChildIte...
X Description: Steps to reproduce (Get-Help Out-Null).Examples Expected behavior PowerShell 5.1 > (Get-Help Out-Null).Examples ------------------- Example 1: Delete output ------------------- PS C:\> Get-Ch...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/11340
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Get-Help does not display whole example body","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\nWindows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nThis repository is **ONLY** for PowerShell Core 6 and PowerShell 7+ issues.\r\n\r\n- Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://docs.microsoft.com/powershell/scripting/whats-new/known-issues-ps6?view=powershell-6).\r\n\r\n-->\r\n\r\n# Steps to reproduce\r\n\r\n```powershell\r\n(Get-Help Out-Null).Examples\r\n```\r\n\r\n# Expected behavior\r\n**PowerShell 5.1**\r\n\r\n```none\r\n> (Get-Help Out-Null).Examples\r\n\r\n------------------- Example 1: Delete output -------------------\r\n\r\nPS C:\\> Get-ChildItem | Out-Null\r\n\r\nThis command gets items in the current location/directory, but its output is not passed through the pipeline nor\r\ndisplayed at the command line. This is useful for hiding output that you do not need.\r\n```\r\n\r\n# Actual behavior\r\n**PowerShell 7.0**\r\n\r\n```none\r\n> (Get-Help Out-Null).Examples\r\n\r\n------------------- Example 1: Delete output -------------------\r\n\r\nGet-ChildItem | Out-Null\r\n```\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```none\r\nName Value\r\n---- -----\r\nPSVersion 7.0.0-preview.6\r\nPSEdition Core\r\nGitCommitId 7.0.0-preview.6-59-gca202da6437f5c9ed334725469f6d8f1cb7e5a2c\r\nOS Microsoft Windows 10.0.18363\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n","author":{"url":"https://github.com/kborowinski","@type":"Person","name":"kborowinski"},"datePublished":"2019-12-13T18:17:27Z","url":"https://github.com/PowerShell/PowerShell/issues/11340"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:f5e554f8-42c9-6b55-9029-c0b171644525 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84CE:18D3A1:4D516:6B693:6AFD48C6 |
| html-safe-nonce | 2338991a64fec66b0a700661ebcf1963d713a7cd09b6422546029ba34f105d9c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NENFOjE4RDNBMTo0RDUxNjo2QjY5Mzo2QUZENDhDNiIsInZpc2l0b3JfaWQiOiIzNDA3NDgxMjAxNjQ2OTc5MjcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f2606347278368b97e04e3a1b2efc22a4164248a31ae51b3fe1c9ba6ddb48b9b |
| hovercard-subject-tag | issue:537696520 |
| 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/11340/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d09b3bf10f863afb5d30d2b04219ff862e76f7a1e6f7935da4780f46870b8dc7/PowerShell/PowerShell/issues/11340 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d09b3bf10f863afb5d30d2b04219ff862e76f7a1e6f7935da4780f46870b8dc7/PowerShell/PowerShell/issues/11340 |
| og:image:alt | Steps to reproduce (Get-Help Out-Null).Examples Expected behavior PowerShell 5.1 > (Get-Help Out-Null).Examples ------------------- Example 1: Delete output ------------------- PS C:\> Get-ChildIte... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kborowinski |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| 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 | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width