Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ajout calcul MD5 par ShellExt:
- New-Item -Path "HKCU:\Software\Classes\*\shell\Calculer le MD5\command" -Force | Out-Null
- Set-ItemProperty -Path "HKCU:\Software\Classes\*\shell\Calculer le MD5" -Name "Icon" -Value "powershell.exe"
- Set-ItemProperty -Path 'HKCU:\Software\Classes\*\shell\Calculer le MD5\command' -Name '(default)' -Value 'powershell -NoProfile -NoExit -WindowStyle Hidden -Command "Get-FileHash -Algorithm MD5 -Path ''%1'' | Out-GridView -Title ''MD5 du fichier''"'
- # nettoyage:
- # Remove-Item -Path "HKCU:\Software\Classes\*\shell\Calculer le MD5" -Recurse -Force
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement