I'm not 100% certain how to formulate this powershell.
If my PWD is "C:\Work\Projects\Release\20140610" and that in itself is a directory tree comprised of several sub folders that themselves may contain files and sub folders ad nauseum, how can I format the output so that it prints like so:
20140610\HTML\File1.html
20140610\HTML\File2.html
20140610\HTML\File3.html
20140610\HTML\Forms\Form1.html
20140610\HTML\Forms\Form2.html
20140610\HTML\Forms\Form3.html
20140610\HTML\Views\View1.html
20140610\Scripts\File1.js
Edit:
Sorry, posted too early.
What I have so far is:
$TableFormat = @{Expression={ $_.Path};Label="Name"},@{Expression = {$_.HashString};Label="Signature"}
Get-ChildItem -Recurse | ?{ !$_.PSIsContainer } | Get-Hash -Algorithm MD5 | Format-Table -AutoSize $TableFomat | Tee-Object -FilePath "C:\Signatures.txt"
Now, I believe I need to add my path split and likely join too midstream after the folder check. However, as so, I do not get the full name so I'm not sure how to continue.