Crypte les password dans script PowerShell
Posté : jeu. déc. 03, 2020 1:27 pm
$LocalFilePath='C:\Sharepoint'
read-host -AsSecureString | ConvertFrom-SecureString | Out-File $LocalFilePath\cred_$env:Key2020.txt
read-host -AsSecureString | ConvertFrom-SecureString | Out-File $LocalFilePath\cred_$env:Key2020.txt