You can use this function to convert your password into secure password. 1 2 3 4 5 6 7 8 9 10 function Generate-Password { $Password = Read-Host "Please type your password" $Key = (3,4,2,3,56,34,254,222,1,1,2,23,42,54,33,233,1,34,2,7,6,5,35,43) $SecureString = ConvertTo-SecureString "$Password" -AsPlainText -Force $StandardString = ConvertFrom-SecureString $SecureString -Key $Key $StandardString } Generate-Password You can use output […]
↧