Count Occurrences of Message in Event Log

The below PS script will count events for the current date that contain text in the specified log. Replace {{LogName}} with name of log and {{Error}} with message text.

 

PowerShell and WPF GUI

The below code demonstrates how to create a base WPF GUI in PowerShell. Comments are in the code.

 

Juniper Sucks

For some god-awful reason my Juniper Terminal Services Client likes to disappear from my taskbar on Windows 10. This results in having to use the Task Manager or a program like Process Explorer to “bring to front”. It only disappears when minimizing from a full screen, not windowed #weird. Anyways, this script can be executed […]