An empty directory "New folder" exists in K: \ test
>$a = gci K:\test
Directory must not have a Length property. Let me check:
[bool]($a.PSobject.Properties.Name -match "Length")
False
Yes, it is not.
But:
>$a.Length
1
What does this mean?
source
to share