-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Get-ChildItem doesn't output correctly when used with Invoke-Command #10759
Copy link
Copy link
Open
Labels
Area-FileSystem-Providerspecific to the FileSystem providerspecific to the FileSystem providerIssue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productKeepOpenThe bot will ignore these and not auto-closeThe bot will ignore these and not auto-closeWG-Cmdlets-Managementcmdlets in the Microsoft.PowerShell.Management modulecmdlets in the Microsoft.PowerShell.Management moduleWG-Engine-FormatWG-RemotingPSRP issues with any transport layerPSRP issues with any transport layer
Metadata
Metadata
Assignees
Labels
Area-FileSystem-Providerspecific to the FileSystem providerspecific to the FileSystem providerIssue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productKeepOpenThe bot will ignore these and not auto-closeThe bot will ignore these and not auto-closeWG-Cmdlets-Managementcmdlets in the Microsoft.PowerShell.Management modulecmdlets in the Microsoft.PowerShell.Management moduleWG-Engine-FormatWG-RemotingPSRP issues with any transport layerPSRP issues with any transport layer
Using
Invoke-Commandto 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
Expected behavior
Get the list of folders

Actual behavior
Additional Notes
The object returned by the command seems ok, If i pipe the
Invoke-CommandtoSelect-ObjectorFormat-Listthe output is correctEnvironment data