![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| Guest | Retrieve file version information Hi, Here's my scenario: I need to retrieve file version information from three different servers. The file name is the same. For example \\server1\share\setup.exe; \\server2\share\setup.exe; \\server3\share\setup.exe. Currently I right click each file, select properties, and then version tab. I would like a script I can just double click and have the versions retrieved for me. Thanks TKE402 |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: Retrieve file version information 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> |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: Retrieve file version information You can't double click a powershell script to run it. if you want to double click an icon then need to start powershell and pass the name of the script. look at powershell /? for details -- Richard Siddaway All scripts are supplied "as is" and with no warranty PowerShell MVP Blog: http://richardsiddaway.spaces.live.com/ PowerShell User Group: http://www.get-psuguk.org.uk "Shay Levy [MVP]" wrote: Quote: > 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> > > > |
My System Specs![]() |
| | #4 (permalink) |
| Guest | Re: Retrieve file version information Quote: > I would like a script I can just double click ... Quote: > You can't double click a powershell script to run it --- Shay Levy Windows PowerShell MVP http://blogs.microsoft.co.il/blogs/ScriptFanatic R> You can't double click a powershell script to run it. if you want to R> double click an icon then need to start powershell and pass the name R> of the script. look at powershell /? for details R> R> "Shay Levy [MVP]" wrote: R> Quote: Quote: >> Hi tke402, >> >> Try: >> >> $files = >> "\\server1\share\setup.exe","\\server2\share\setup.exe","\\server3\sh >> are\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> |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Retrieve U3 Usb Information | Drivers | |||
| get file version information | PowerShell | |||
| File version information? | Vista General | |||
| Version information in Explorer's File Details Tab | Vista file management | |||
| File version information limited in Windows Explorer on Vista | Vista General | |||