remote eventlog reading This topic contains 3 replies, has 4 voices, and was last updated by Martin Nielsen 2 years, 5 months ago. Author Posts March 17, 2015 at 3:07 am #23415 Hem ThapaParticipant I need powershell code to read eventlog in local or remote machine and alert via email. can anybody help to me. March 17, 2015 at 3:11 am #23416 Tim PringleParticipant Hey Hem, What have you written so far? March 17, 2015 at 3:23 am #23418 Matt McNabbParticipant Have you tried anything yet? Do you have any code at all? Get-EventLog and Get-WinEvent can be used to get the events you need and Send-MailMessage does exactly that – sends a message. March 18, 2015 at 12:23 am #23442 Martin NielsenParticipant There's a ton of PowerShell code in the free ebooks located on this very site. Some of it covers how to view event log entries, and some of it covers how to do things remotely. eBooks Author Posts You must be logged in to reply to this topic.