In PowerShell, you can get dll assembly file version using Get-Item cmdlet as below (Get-Item D:\PowerShell\ShellWatcher.dll).VersionInfo | format-list In the above command, FileVersionInfo.FileVersion property get exe file version as below for specified file PS C:\> (Get-Command D:\PowerShell\ShellIndex.exe).FileVersionInfo.FileVersion 2.0.3.0Ĭool Tip: How to rename a computer in PowerShell! Get dll assembly file version using Get-Item You can get exe file version in PowerShell using Get-Command as below (Get-Command D:\PowerShell\ShellIndex.exe).FileVersionInfo.FileVersion Get dll assembly file version in PowerShellĬool Tip: How to find file by name in PowerShell! Get Exe File version PowerShell
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |