Forum Discussion

Bosjabouter's avatar
Bosjabouter
Copper Contributor
Jun 15, 2026

Get-ChildItem | Write-Host

The command in the title lists all the short names of files and folders in the current folder,  whereas `Get-ChildItem * | Write-Host`  lists the full names (including paths).  I compared the output ...