diff --git a/ad/Disable-InactiveAdUser.ps1 b/ad/Disable-InactiveAdUser.ps1 index 9e38bad..4c8e6dc 100644 --- a/ad/Disable-InactiveAdUser.ps1 +++ b/ad/Disable-InactiveAdUser.ps1 @@ -31,7 +31,8 @@ if (($Users.distinguishedName).Count -gt 0) {
-

This email was sent automatically. Please do not reply.

+

This email was sent automatically. Please do not reply.


+

$($UsersOU) $(Get-Date)

"@ Send-MailMessage -SmtpServer $SmtpServer -Port $SmtpPort -UseSsl -From $SmtpFrom -To $SmtpTo `