Title: Get-ChildItem doesn't output correctly when used with Invoke-Command · Issue #10759 · PowerShell/PowerShell · GitHub
Open Graph Title: Get-ChildItem doesn't output correctly when used with Invoke-Command · Issue #10759 · PowerShell/PowerShell
X Title: Get-ChildItem doesn't output correctly when used with Invoke-Command · Issue #10759 · PowerShell/PowerShell
Description: Using Invoke-Command to get the folder list from a remote computer an empty table is displayed, this seems a problem with the formatting of the output. Steps to reproduce Invoke-Command {Get-ChildItem $env:APPDATA} -ComputerName buildsrv...
Open Graph Description: Using Invoke-Command to get the folder list from a remote computer an empty table is displayed, this seems a problem with the formatting of the output. Steps to reproduce Invoke-Command {Get-ChildI...
X Description: Using Invoke-Command to get the folder list from a remote computer an empty table is displayed, this seems a problem with the formatting of the output. Steps to reproduce Invoke-Command {Get-ChildI...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/10759
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Get-ChildItem doesn't output correctly when used with Invoke-Command","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 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\nUsing `Invoke-Command` to get the folder list from a remote computer an empty table is displayed, this seems a problem with the formatting of the output.\r\n\r\n# Steps to reproduce\r\n\r\n```powershell\r\n Invoke-Command {Get-ChildItem $env:APPDATA} -ComputerName buildsrv1\r\n```\r\n\r\n# Expected behavior\r\nGet the list of folders\r\n\r\n\r\n# Actual behavior\r\n\r\n\r\n# Additional Notes\r\nThe object returned by the command seems ok, If i pipe the `Invoke-Command` to `Select-Object` or `Format-List` the output is correct\r\n\r\n\r\n\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.4\r\nPSEdition Core\r\nGitCommitId 7.0.0-preview.4\r\nOS Microsoft Windows 10.0.18995\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/leoniDEV","@type":"Person","name":"leoniDEV"},"datePublished":"2019-10-10T09:34:35Z","url":"https://github.com/PowerShell/PowerShell/issues/10759"}
| 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:cd624294-b690-c429-8778-c1d42acf5c1b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E30:118228:2731614:36917D9:6AFD4CD2 |
| html-safe-nonce | 690cce5e1c7cac7dda4737da93b7105d3385c728f0378c5298c8e32d390c86a6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTMwOjExODIyODoyNzMxNjE0OjM2OTE3RDk6NkFGRDRDRDIiLCJ2aXNpdG9yX2lkIjoiODAxNTA5MzQzMDcwOTIxMDMyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c0ed1014b0959d73df064f2712a3de78dece643bb393788307c2f8e233316a52 |
| hovercard-subject-tag | issue:505151707 |
| 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/10759/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7b4948dc382baf5486ffc065a2655d7465af917bf9efbf8230321fde99f03f2b/PowerShell/PowerShell/issues/10759 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7b4948dc382baf5486ffc065a2655d7465af917bf9efbf8230321fde99f03f2b/PowerShell/PowerShell/issues/10759 |
| og:image:alt | Using Invoke-Command to get the folder list from a remote computer an empty table is displayed, this seems a problem with the formatting of the output. Steps to reproduce Invoke-Command {Get-ChildI... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | leoniDEV |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width