标签: powershell
如何在powershell中解密受保护的字符串值?我已经使用此代码加密字符串值,但我需要知道如何在powershell中保护字符串值。请帮助。
$var = Read-Host "Enter anything!" -AsSecureString $var $var1 = ConvertFrom-SecureString -SecureString $var $var1 $var2 = ConvertTo-SecureString -String $var1 $var2