Get-UcArch
Syntax
Get-UcArch
-FilePath
Description
Based on PowerShell script Get-ExecutableType.ps1 by David Wyatt that was originally posted in:
Identify 16-bit, 32-bit and 64-bit executables with PowerShell
https://gallery.technet.microsoft.com/scriptcenter/Identify-16-bit-32-bit-and-522eae75
Example
Get-UcArch -FilePath "C:\Windows\System32\notepad.exe"