1 2 3 4 5 6 7 | function hashear($ruta){ Get-FileHash $ruta } Get-Process | select Path | %{ hashear $_.Path } |
Ejercicios de PowerShell: calcular el hash SHA256 de todos los procesos que se están ejecutando (crear una función simple)

1 2 3 4 5 6 7 | function hashear($ruta){ Get-FileHash $ruta } Get-Process | select Path | %{ hashear $_.Path } |