INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

folder list

folder list

(OP)
Can anyone tell me what the lines are that only have a length in this listing, when I run this command?

Get-ChildItem -Path $path -Recurse -Force | Where-Object {$_.lastwritetime -gt '12/10/2017' -AND $_.lastwritetime -lt '12/11/2017'}

CODE -->

Mode                LastWriteTime     Length Name
----                -------------     ------ ----
-a---        12/10/2017   4:04 AM 3492949248 Enclu
                                           0
-a---        12/10/2017   6:02 AM 2632601241 Enclu
                                           6
-a---        12/10/2017   8:00 AM     375296 Enclu
-a---        12/10/2017  10:00 AM    1882624 Enclu
-a---        12/10/2017  12:00 PM    3586560 Enclu
-a---        12/10/2017   2:00 PM     571904 Enclu
-a---        12/10/2017   4:00 PM     506368 Enclu
-a---        12/10/2017   6:00 PM     440832 Enclu
-a---        12/10/2017   8:00 PM     440832 Enclu
-a---        12/10/2017  10:00 PM     375296 Enclu
-a---        12/10/2017   6:03 AM   13123072 k2TLo
-a---        12/10/2017   8:00 AM    2243072 k2TLo
-a---        12/10/2017  10:00 AM    8863232 k2TLo
-a---        12/10/2017  12:00 PM   16466432 k2TLo
-a---        12/10/2017   2:00 PM    3160576 k2TLo
-a---        12/10/2017   4:00 PM    2439680 k2TLo
-a---        12/10/2017   6:00 PM    4340224 k2TLo
-a---        12/10/2017   8:00 PM    4079104 k2TLo
-a---        12/10/2017  10:00 PM    2832896 k2TLo
-a---        12/10/2017   1:01 AM 1266556979 K2_Ba
                                           2
-a---        12/10/2017   4:06 AM 1266484889 K2_Ba
                                           6
-a---        12/10/2017   6:03 AM     188928 YadNa
-a---        12/10/2017   8:00 AM     188928 YadNa
-a---        12/10/2017  10:00 AM     188928 YadNa
-a---        12/10/2017  12:00 PM     188928 YadNa
-a---        12/10/2017   2:00 PM     188928 YadNa
-a---        12/10/2017   4:00 PM     188928 YadNa
-a---        12/10/2017   6:00 PM     188928 YadNa
-a---        12/10/2017   8:00 PM     188928 YadNa
-a---        12/10/2017  10:00 PM     188928 YadNa
-a---        12/10/2017  12:00 AM   23259648 Yadna
-a---        12/10/2017   4:06 AM   23259648 YadNa 

RE: folder list

try changing the outputs and see what you get
Get-ChildItem -Path $path -Recurse -Force | Where-Object {$_.lastwritetime -gt '12/10/2017' -AND $_.lastwritetime -lt '12/11/2017'}|select FullName,Name,Length,Mode,LastWriteTime|Format-Table

or
Get-ChildItem -Path $path -Recurse -Force | Where-Object {$_.lastwritetime -gt '12/10/2017' -AND $_.lastwritetime -lt '12/11/2017'}|select FullName,Name,Length,Mode,LastWriteTime

Regards

Frederico Fonseca
SysSoft Integrated Ltd
www.syssoft-int.com

FAQ219-2884: How Do I Get Great Answers To my Tek-Tips Questions?
FAQ181-2886: How can I maximize my chances of getting an answer?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close