If you have Visual Studio installed you can use dumpbin.exe
. There’s also the Get-PEHeader
cmdlet in the PowerShell Community Extensions that can be used to test for executable images.
Dumpbin will report DLLs as machine (x86)
or machine (x64)
Get-PEHeader will report DLLs as either PE32
or PE32+