Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

password encryptin powershell

$password = Get-Content C:Passwordspassword.txt | ConvertTo-SecureString -Key (Get-Content C:Passwordsaes.key)
$credential = New-Object System.Management.Automation.PsCredential("Luke",$password)
Source by www.altaro.com #
 
PREVIOUS NEXT
Tagged: #password #encryptin #powershell
ADD COMMENT
Topic
Name
3+8 =