Scripting Blog

A place to learn about PowerShell and share stories of automation

How Can I Determine the Version Number of an Executable File?

Hey, Scripting Guy! How can I determine the version number of an executable file?-- TW Hey, TW. Well, that depends. If the file is located on the local computer, the easiest way is to use the FileSystemObject. Have a burning desire to know which version of Regedit.exe is installed on your computer? All it takes is two lines of code: As you ...

How Can I Determine if a Folder Exists on a Computer?

Hey, Scripting Guy! Is there any way to determine whether or not a specific folder exists on a computer?-- RP, Umatilla, OR Hey, RP. There are a couple ways of doing this, depending on whether you are looking for the folder on the local computer or on a remote computer, and depending on whether or not you know the exact path to the folder. ...