get-childitem * -include *.* | foreach-object { "{0}`t{1}" -f $_.FullName, [System.Diagnostics.F ileVersionInfo]::GetVersionInfo($_).FileVersion } | out-file output.txt notepad.exe output.txt
Output
Lab Core | The Lab of MrNetTek
A blog about IT, technical solutions, and code.