Szyfrowanie hasła PowerShell w skrypcie
(get-credential).password | ConvertFrom-SecureString | set-content "C:\Passwords\password.txt"
Enthusiastic Eagle
(get-credential).password | ConvertFrom-SecureString | set-content "C:\Passwords\password.txt"