amidaware / community-scripts

A curated list of powershell, python, and batch scripts for use in TacticalRMM or anywhere!
MIT License
122 stars 84 forks source link

Fixed a bug with secure-string conversion #150

Closed JxD-DeciSion closed 1 year ago

JxD-DeciSion commented 1 year ago

Background: Had issues joining our AD and reached out to free-support

While investigating the problem I came across this StackOverflow post

Did some testing and encountered a "credentials not correct" error. But this time the script actually created the log file and I could verify the script was doing something. After some more investigation I found out that my password contained a "$" which had to be escaped. I dont know if its wanted or necessary but I added a little hint that "$" characters have to be escaped.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

silversword411 commented 1 year ago

Thanks for the fix!