Created
January 13, 2020 13:56
-
-
Save justinloring/a3c11490822bbaf7ce26d2ba1b46578f to your computer and use it in GitHub Desktop.
Send-TextAlert.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Read-Host "Make sure email list has been created before pressing enter." | |
$ver = "@vtext.com" | |
$att = "@txt.att.net" | |
$spr = "@messaging.sprintpcs.com" | |
$tmo = "@tmomail.net"` | |
#Send-MailMessage -From "s7@republicservices.com" -To "8155308515@vtext.com" -Subject "DP HDD Storage Alert" -SmtpServer "relay.repsrv.com" -Body "D-721-01 has dropped below storage threshold." | |
Send-MailMessage -From "s7@republicservices.com" -To "2193063146@txt.att.net" -Subject "DP HDD Storage Alert" -SmtpServer "relay.repsrv.com" -Body "D-721-01 has dropped below storage threshold." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment