Verify All Multiple Downloaded Files’ Checksum In Powershell

I ran into this need while downloading the Oracle VirtualBox Image for its Developer Database which was 7ziped into 14 files. I wanted a way to view all the checksums using Windows 10 certutil program without having to type it into the command line. Here is the command used from the directory.:

     #
     gci  | foreach { certutil -hashfile $_.fullname MD5 }
     

I had other files in the directory so I wanted to filter only on those files:

     #
     gci -filter *.ova.7z.0** | foreach { certutil -hashfile $_.fullname MD5 }

Share

Leave a Reply