Created
July 6, 2012 03:17
-
-
Save goyuix/3057873 to your computer and use it in GitHub Desktop.
Add file size to CSV in PowerShell - merge in size/length from filesystem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gc J:\private\wbfs\DecoderRing.txt | | |
ConvertFrom-Csv -Delimiter "`t" | | |
% { | |
Add-Member -InputObject $_ -MemberType NoteProperty -Name Length -Value (dir $_.ID).Length -Passthru | |
} | Export-Csv J:\decoder.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment