Write Event Log Using PowerShell Posted onOctober 18, 2013February 10, 2020AuthorMrNetTek This will allow you to write to the event log using PowerShell. PS C:\> write-eventlog System -source Server -eventid 12345 -message “I am a custom event log message”