Hi tke402,
Try:
$files = "\\server1\share\setup.exe","\\server2\share\setup.exe","\\server3\share\setup.exe"
dir $files | format-list VersionInfo
---
Shay Levy
Windows PowerShell MVP
http://blogs.microsoft.co.il/blogs/ScriptFanatic
t> Hi,
t>
t> Here's my scenario:
t>
t> I need to retrieve file version information from three different
t> servers. The file name is the same. For example
t> \\server1\share\setup.exe; \\server2\share\setup.exe;
t> \\server3\share\setup.exe.
t>
t> Currently I right click each file, select properties, and then
t> version tab. I would like a script I can just double click and have
t> the versions retrieved for me.
t>
t> Thanks
t>
t> TKE402
t>