1 2 3 4 5 6 7 8 | [Reflection.Assembly]::LoadWithPartialName("System.Web") $pass=Read-Host 'Introducir contraseña para generar hash' "Hash MD5" [System.Web.Security.FormsAuthentication]::HashPasswordForStoringInConfigFile($pass, "MD5") "Hash SHA1" [System.Web.Security.FormsAuthentication]::HashPasswordForStoringInConfigFile($pass, "SHA1") |