PowerShell Script of the Week: June 1st 2015 – Detect who installed what software on Windows Server and send email with alert.

1) Configure Event Logs: Run eventvwr.msc → Windows Logs → Right-click “Application” log → Properties:Make sure the “Enable logging” check box is selectedIncrease the log size for at least 1gbSet retention method to “Overwrite events as needed” or “Archive the log when full”. 2) Creating an alert: To create an Read more…