This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-BinaryType | |
{ | |
<# | |
.SYNOPSIS | |
Gets the binary executable type for a given set of files | |
.DESCRIPTION | |
PowerShell wrapper around the GetBinaryType Windows API that inspects file headers | |
and reports the binary file type (e.g., 32-bit Windows app, 64-bit Windows app, | |
16-bit DOS/Windows app, etc.) |