I am trying to verify the validity of a package I downloaded (kubectl) using this command:
$($(CertUtil -hashfile .\kubectl.exe SHA256)[1] -replace " ", "") -eq $(type .\kubectl.exe.sha256)
as specified in their website but I get this error:
CertUtil : The term 'CertUtil' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
I added the path to C:\Windows\System32\certutil.exe
to the Path
env variable but still didn't work.