Find out how to create your own event log. Recently I was asked to prepare PowerShell script for generating custom events. In this article, I want to share with you how this can be done using a simple PowerShell function. Create a new Event Log You can create event using simple command Write-EventLog. To write an event to an event log, the event log must exist on the computer and …
