PowerShell can seem like a tool for system administrators: with a black window, cryptic commands, and plenty of ways to get things wrong. Yet the Windows console can also be used for everyday tasks.
A simple PowerShell command and guide to set the execution policy for the current user. Ideal for developers and system administrators who need to run custom scripts without security blocks.
Prompts for an SMTP username and password and stores them in a DPAPI-encrypted file (smtp-credential.xml) next to the script. The main script loads this file automatically to authenticate with the ...