title: how to display the length of a FULLNAME
body: <pre><code>how can i get the length of the full path of a filename?
  </code></pre>
  
  <p>I am getting all the files recursively in a directory structure succesfully, and now I am trying to get the length of the fullpath:</p>
  
  <pre><code>get-childitem y:\ -rec | where {!$_.PSIsContainer} |
  select-object FullName, LastWriteTime, $($_.fullname).length | export-csv -notypeinformation -delimiter '|' -path file.csv
  </code></pre>
  
  <p>my issue is with this: <code>$($_.fullname).length</code>:</p>
  
  <pre><code>Select-Object : Null parameter. Expecting one of the following types: {System.String, System.Management.Automation.Scri ptBlock}. At line:2 char:14
  + select-object &lt;&lt;&lt;&lt;  FullName, LastWriteTime, $($_.fullname).length | export-csv -notypeinformation -delimiter '|' -pa th file.csv
      + CategoryInfo          : InvalidArgument: (:) [Select-Object], NotSupportedException
      + FullyQualifiedErrorId : DictionaryKeyUnknownType,Microsoft.PowerShell.Commands.SelectObjectCommand
  </code></pre>
  
  <p><strong>how would i get the length of the fullname of the file?</strong></p>