Powershell Dotnet get DLL version from file

Date: 2022-12-21
$dll="C:\MyPath\System.Memory.dll"
([system.reflection.assembly]::loadfile($dll)).FullName;

>> System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
71390cookie-checkPowershell Dotnet get DLL version from file