PowerShell snippets for Windows:
./sendmail/sendmail.ps1:
- Send Email with PowerShell and encrypted Credentials
- Use "CreateSecurePassword.ps1" to create Keyfile and encrypted Password
- More Information: https://blog.doenselmann.com/emails-mit-powershell-versenden/
./crypto/CreateSecurePassword.ps1:
- Create AES256 Keyfile for encrypting Passwords
- More Information: https://blog.doenselmann.com/emails-mit-powershell-versenden/
powershell.exe -ExecutionPolicy Bypass "& '.\sendmail.ps1'"
powershell.exe -ExecutionPolicy Bypass "& '.\CreateSecurePassword.ps1'"