Vpk To Zip Verified -

However, not all conversion tools are safe. That’s why matters.

Get-ChildItem -Filter *.vpk | ForEach-Object $zipName = $_.BaseName + ".zip" Copy-Item $_.FullName $zipName $hashOrig = (Get-FileHash $_.FullName -Algorithm MD5).Hash $hashZip = (Get-FileHash $zipName -Algorithm MD5).Hash if ($hashOrig -eq $hashZip) Write-Host "Verified: $($_.Name)" -ForegroundColor Green else Write-Host "Failed: $($_.Name)" -ForegroundColor Red vpk to zip verified