title: Using Get-ChildItem to retrieve folder,name,fullname
body: <p>I'm currently using this script to pull the Name,Folder,Foldername from a given path:</p>
  
  <pre><code>   Get-ChildItem "C:\user\desktop"  | Select Name, `
    @{ n = 'Folder'; e = { Convert-Path $_.PSParentPath } }, `
    @{ n = 'Foldername'; e = { ($_.PSPath -split '[\\]')[-2] } } ,
    @{ n = 'Fullname'; e = { Convert-Path $_.PSParentPath } } |
      Export-Csv "C:\user\desktop\txt.txt" -Encoding Utf8 -NoTypeInformation
  </code></pre>
  
  <p>I am having trouble getting <code>@{ n = 'Fullname'; e = { Convert-Path $_.PSParentPath } }</code> to pull through the full file path.</p>
  
  <p>Any help greatly appreciated. </p>