Powershell WSB Script
问题 I have a backup script WSBREPORT which works fine. However, I am using an SMTP server that needs authentication. So I have a script separately that works and creates an encrypted txt file with the password. What I can't seem to achieve is to add the authentication script into my backup script. Could you point me into the direction where my script needs to go to get it working, please. ************Working authentication Script *********** $AdminName = "username" $Pass = Get-Content "C:\Masters