You can use Send-Log in your scripts to send a log file (or any file) as an attachment to the email address of your choice. This script works well with the Write-Log function by emailing the log after your have completed a specific task.
↧
You can use Send-Log in your scripts to send a log file (or any file) as an attachment to the email address of your choice. This script works well with the Write-Log function by emailing the log after your have completed a specific task.