PS C:\WINDOWS\system32> Get-Item `
>> 'C:\Program Files (x86)\InfoTeCS\ViPNet Client\IplirControl.exe',
>> 'C:\Program Files (x86)\InfoTeCS\ViPNet Client\iplayer.dll',
>> 'C:\Program Files (x86)\InfoTeCS\ViPNet Client\TAO_PI.dll' |
>> ForEach-Object {
>> [PSCustomObject]@{
>> File = $_.Name
>> FileVersion = $_.VersionInfo.FileVersion
>> ProductVersion = $_.VersionInfo.ProductVersion
>> }
>> } | Format-Table -Auto
File FileVersion ProductVersion
---- ----------- --------------
IplirControl.exe 4.5.5.24749 4.5.5.24749
iplayer.dll 4.5.5.24749 4.5.5.24749
TAO_PI.dll 2.4.6 2.4.6