Tuesday, January 21, 2014

Get file version in powershell

$myBuildDirectory = "C:\AwesomeProject\"

dir $myBuildDirectory -filter *.dll | select Name, LastWriteTime, @{label="FileVersion";expression={$_.versioninfo.fileversion}}

This outputs

No comments:

Post a Comment

There was an error in this gadget