send active directory password rule via an email


hello

can me scripting, send out automated email mgmt heads ad password rules.

thanks

naveen rao

hi,

here's example of how can send email via powershell:

$subject = 'email subject line' $to = 'user1@domain.com','user2@domain.com' $from = 'you@domain.com' $smtpserver = 'smtp.domain.com'  $body = @' email body. example using here-string. put whatever want in here.  thanks, department '@  send-mailmessage -to $to -from $from -subject $subject -body $body -smtpserver $smtpserver


don't retire technet! - (don't give yet - 13,085+ strong , growing)



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

CRL Revocation always failed

Failed to query the results of bpa xpath

RDS 2012 r2 collections show black screen and then close