<p>How can you get the version information from a <code>.dll</code> or <code>.exe</code> file in PowerShell?</p>

<p>I am specifically interested in <code>File Version</code>, though other version information (that is, <code>Company</code>, <code>Language</code>, <code>Product Name</code>, etc.) would be helpful as well.</p>

```
```
[System.Diagnostics.FileVersionInfo]::GetVersionInfo("Path\To\File.dll")
```
```