Realizar una función de hash sobre varios ficheros
# Dividir un fichero en varios ficheros (cada línea en un fichero distinto) mkdir ficherosdivididos gc ..\ficheromaestro.txt $numfichero=1 gc ..\ficheromaestro.txt | % { $_ | Out-File "fichero$numfichero" $numfichero+=1 } # Realizar el Hash a los ficheros Get-FileHash ..\ficheromaestro.txt ls | % { Get-FileHash $_ }
View On WordPress








