Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: PowerShell Get-ChildItem help

23 Jun 2011   #1

Windows 7 Ultimate x64
PowerShell Get-ChildItem help

Hi, I need some help with the gci command, basically I want to keep the "Directory: path" line that gci display in the output by default.

When I use gci with "Select:Object", that line is absent, making the output a terrible mess to navigate when used with the "-recurse' argument.

Is there a way or that behavior is by design?


Directory: C:\Users < this line

Mode LastWriteTime Length Name
---- ------------- ------ ----

My System SpecsSystem Spec


 PowerShell Get-ChildItem help

Thread Tools

Similar help and support threads for2: PowerShell Get-ChildItem help
Thread Forum
PowerShell 3.0 for Win 7 now available News
powershell General Discussion
Powershell get-acl help Software
Solved powershell 1 or 2? General Discussion
do you use powershell? General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:55 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33