I created a script to get fields using read-host, there are 5 fields, all of the fields are to be encrypted and saved to a config file. 2 of the five are not saved as encrypted strings, the from and To address, all other fields are encrypted. I've included a copy of the Config file.
I'm sure its something simple but I don't see what I am doing wrong, need some help
If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.