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
Register now to get the best rates available!
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 Andrew J. Kelly
Sessions meet Tuesday, August 26th @ 11am, 1pm, 3pm ET...
Presented by Randy Williams
August 27th at 11am, 1pm, and 3pm ET...
Presented by John Savill
September 24th @ 11am, 1pm, 3pm EDT
View CatalogView Shopping Cart
Sponsored Introduction Continue on to (or wait seconds) ×