You could also use the Format-Hex cmdlet from the PowerShell Community Extensions (http://pscx.codeplex.com).
The function Get-FileHex on this page: http://www.sans.org/windows-security/2010/02/11/powershell-byte-array-hex-convert/ is a more polished version of GetHex1.ps1, with some useful additional arguments
The Windows IT Pro forums are moving to myITforum.com! Get answers to questions, share tips, and engage with the IT professional community.
Presented by Mel Beckman
Thursday, April 30th
Enroll Now and Save $75!
View CatalogView Shopping Cart
Sponsored Introduction Continue on to (or wait seconds) ×