Sample code for 30+ languages & platforms
PowerShell

Compute CRC32 of a File

Calculates the CRC32 of a file's contents and returns the 32-bit CRC as a hex string.

Chilkat PowerShell Downloads

PowerShell
Add-Type -Path "C:\chilkat\ChilkatDotNet47-x64\ChilkatDotNet47.dll"

$zipCrc = New-Object Chilkat.ZipCrc
# Use a relative for absolute path to the file..
$crc = $zipCrc.FileCrc("qa_data/hamlet.xml")
$hexStr = $zipCrc.ToHex($crc)
$($hexStr)