#https://www.wireshark.org/lists/wireshark-users/202112/msg00000.html #https://www.wireshark.org/download.html ###se lo script mi da: + FullyQualifiedErrorId : UnauthorizedAccess ###dare: Set-ExecutionPolicy Unrestricted ###Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser $algorithm = [Security.Cryptography.HashAlgorithm]::Create("SHA256") $prg = 'C:\Users\fp\Downloads\Wireshark-4.4.3-x64.exe' $fileBytes = [io.File]::ReadAllBytes($prg) $bytes = $algorithm.ComputeHash($fileBytes) -Join ($bytes | ForEach {"{0:x2}" -f $_})