todd231

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Avatar
    todd231
    Participant
    in reply to: Email Event viewer logs from servers #614420

    Yep! Sure did! Luckily we only need the Application log, so that worked perfectly. As you know, to change what log is exported, just change the “-log application” to “-log system” etc…

     

    Avatar
    todd231
    Participant
    in reply to: Email Event viewer logs from servers #614307

    disregard guys, I got it…

     

    Get-Eventlog -log application -after ((get-date).addDays(-1)) -EntryType Error, Warning | export-csv “C:\transfer\appevents.csv”

    Send-MailMessage -To [email protected]-From “[email protected]” -Subject “Application Events” -Attachments “c:\transfer\appevents.csv” -SmtpServer smtp.mydomain.com

     

    This works much, much better!

    Avatar
    todd231
    Participant
    in reply to: Remote Desktop Manager Software #613328

    Disregard. I’m an idiot.

     

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)