loop

Example

for ($num = 0; $num -lt 10; $num++)
{
    $smtp = "<mail_server>"
    send-mailmessage -from <user1@domain.com> -to <user2@domain.com> -Subject "<subject> $smtp" -SmtpServer $smtp
    start-sleep -Seconds 5
}
Last modified July 21, 2024: update (e2ae86c)