Title: "Get-ChildItem | Format-Wide -AutoSize | Out-String" can't work on Powershell 6.0.1 & 6.0.2 · Issue #6471 · PowerShell/PowerShell · GitHub
Open Graph Title: "Get-ChildItem | Format-Wide -AutoSize | Out-String" can't work on Powershell 6.0.1 & 6.0.2 · Issue #6471 · PowerShell/PowerShell
X Title: "Get-ChildItem | Format-Wide -AutoSize | Out-String" can't work on Powershell 6.0.1 & 6.0.2 · Issue #6471 · PowerShell/PowerShell
Description: Steps to reproduce Get-ChildItem | Format-Wide -AutoSize | Out-String or Get-ChildItem | Format-Wide -AutoSize | Out-String -Stream Expected behavior Directory: C:\Users\andot\Documents\WindowsPowerShell\Modules\lolcat\1.0.1 .git LICENSE...
Open Graph Description: Steps to reproduce Get-ChildItem | Format-Wide -AutoSize | Out-String or Get-ChildItem | Format-Wide -AutoSize | Out-String -Stream Expected behavior Directory: C:\Users\andot\Documents\WindowsPowe...
X Description: Steps to reproduce Get-ChildItem | Format-Wide -AutoSize | Out-String or Get-ChildItem | Format-Wide -AutoSize | Out-String -Stream Expected behavior Directory: C:\Users\andot\Documents\WindowsPowe...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/6471
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"Get-ChildItem | Format-Wide -AutoSize | Out-String\" can't work on Powershell 6.0.1 \u0026 6.0.2","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\n- Windows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nIf it is a bug report:\r\n- make sure you are able to repro it on the latest released version. \r\nYou can install the latest version from 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://github.com/PowerShell/PowerShell/blob/master/docs/KNOWNISSUES.md).\r\n- Fill out the following repro template:\r\n\r\nIf it's not a bug, please remove the template and elaborate the issue in your own words.\r\n--\u003e\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n```powershell\r\nGet-ChildItem | Format-Wide -AutoSize | Out-String\r\n```\r\n\r\nor\r\n```powershell\r\nGet-ChildItem | Format-Wide -AutoSize | Out-String -Stream\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\n```none\r\n\r\n\r\n Directory: C:\\Users\\andot\\Documents\\WindowsPowerShell\\Modules\\lolcat\\1.0.1\r\n\r\n\r\n\r\n.git LICENSE\r\nlolcat.psd1 lolcat.psm1\r\nOut-Rainbow.psm1 Out-StripAnsi.psm1\r\nREADME.md screenshot.png\r\n\r\n```\r\n\r\nActual behavior\r\n---------------\r\n\r\n```none\r\nout-lineoutput : Array dimensions exceeded supported range.\r\nAt line:1 char:1\r\n+ Get-ChildItem | Format-Wide -AutoSize | Out-String -Stream\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n+ CategoryInfo : NotSpecified: (:) [out-lineoutput], OutOfMemoryException\r\n+ FullyQualifiedErrorId : System.OutOfMemoryException,Microsoft.PowerShell.Commands.OutLineOutputCommand\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable --\u003e\r\n\r\n```powershell\r\n\u003e $PSVersionTable\r\nName Value\r\n---- -----\r\nPSVersion 6.0.1\r\nPSEdition Core\r\nGitCommitId v6.0.1\r\nOS Microsoft Windows 10.0.16299\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\r\n```powershell\r\n\u003e $PSVersionTable \r\nName Value\r\n---- -----\r\nPSVersion 6.0.2\r\nPSEdition Core\r\nGitCommitId v6.0.2\r\nOS Linux 4.4.0-43-Microsoft #1-Microsoft Wed Dec...\r\nPlatform Unix\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\r\nIf no ` -AutoSize` param, the result will be fine. And it works well in WindowsPowerShell 5.1 with or without ` -AutoSize` param.","author":{"url":"https://github.com/andot","@type":"Person","name":"andot"},"datePublished":"2018-03-23T02:59:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/6471/PowerShell/issues/6471"}
| 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:13765ff9-102e-610f-8855-383175ba1b9a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B682:255A34:BC71E2:FEBA97:6A555A19 |
| html-safe-nonce | 1cc8998e33311df696c2726725a57af5c64b61e9f1306db53e8d37b9273a9fe0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjgyOjI1NUEzNDpCQzcxRTI6RkVCQTk3OjZBNTU1QTE5IiwidmlzaXRvcl9pZCI6IjYwNjkxNTQwMjY0NjA4OTU3NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5ce5ceffacc83e94f832bcee170df334e096bf4e4ca84fdb939dd19a19a825b5 |
| hovercard-subject-tag | issue:307885220 |
| 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/6471/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e3a429ac106ee79fe78065c61bc49d7707abc72d90bf617afd1ca0cc53311944/PowerShell/PowerShell/issues/6471 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e3a429ac106ee79fe78065c61bc49d7707abc72d90bf617afd1ca0cc53311944/PowerShell/PowerShell/issues/6471 |
| og:image:alt | Steps to reproduce Get-ChildItem | Format-Wide -AutoSize | Out-String or Get-ChildItem | Format-Wide -AutoSize | Out-String -Stream Expected behavior Directory: C:\Users\andot\Documents\WindowsPowe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andot |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 73595e82546ca2415571a2031890ab16ecb3001a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width