News

Assuming Visual Studio 2019 is installed in your system, follow the steps ... an instance of the EventLog class and write an entry to the Windows Event Log, you can use the following code: Now ...
An excellent PowerShell script is easy to troubleshoot when something goes wrong. When developing scripts, it's important to not just consider "working" a symbol of success but also that you have ...
Windows offers two commands that allow anyone with admin permission to export Windows Event Logs using PowerShell. The process is straightforward but can be done in multiple ways using the Get ...
Command to enable or disable System log events and auto-restart To enable or disable Windows 10 from writing a System log event or automatically restarting the device upon crash with Command ...
All I want to do is move the location of the Application, Security and System logs on Server 2008 to a different location. However, no matter which location I choose, the System log fills up with ...
A Windows API function (OpenEventLogW) allows a user to open a handle for a specific event log on a local or remote machine and is useful for services that can use it to read, write, and clear ...
Recently I needed to find out all instances of the Windows File Protection service within the system log within the Event Viewer. The Windows File Protection (WFP) service is activated when an ...