Update 'usercount.ps'
This commit is contained in:
parent
081dff7250
commit
28c7e72202
@ -22,5 +22,5 @@ Function ADCOUNT
|
||||
}
|
||||
ADCOUNT | out-file c:\Windows\Temp\adcount.txt
|
||||
$datum = (get-date -uformat "%B %Y")
|
||||
send-MailMessage -To $mailto -Subject "AD Count output" -Body "Rapport created on $datum" -SmtpServer $mailserv -From $mailfrom -Attachment "c:\windows\temp\adcount.txt"
|
||||
send-MailMessage -To "$mailto" -Subject "AD Count output" -Body "Rapport created on "$datum" -SmtpServer "$mailserv" -From "$mailfrom" -Attachment "c:\windows\temp\adcount.txt"
|
||||
remove-item c:\windows\temp\adcount.txt
|
Loading…
x
Reference in New Issue
Block a user