CZQ Consulting Ltd Writing to the EventLog from an ASP.NET page | CZQ Consulting Ltd

Writing to the EventLog from an ASP.NET page

Powershell offers another really good option as you can call directly into the framework. This way you don’t have to create a project just for the sake of performing some minor admin legwork. Also, you could probably package the script in a setup package.

 $x = [System.Diagnostics.EventLog]

$x::CreateEventSource(“Client Connect”, “Application”)

Leave a Reply

*

*