Like Us
Plus One
Follow Us
 Author Jeff Jones  Views 1472 View Original Article

Recently I needed to save passwords to share across scripts and wanted to: Avoid clear text passwords Avoid updating anything in each PS1 script file Securely store in a central place Make future password updates easy After testing I found that ConvertTo-SecureString can be used with Set-ItemProperty to encrypt user text input and save to the Registry Current User hive (HKCU).   From here, multiple scripts on that machine can reuse the one central password.   However, it ca…
View Original Article

Recent Articles from @SPJeff