Skip to content

PowerShell Wiki

Tiago Madeira edited this page Apr 12, 2025 · 1 revision

Scripts

This is a collection of PowerShell scripts that can perform a variety of tasks related to automation and system monitoring.

All scripts are provided as samples only. It is up to the user to validate that they work, and to take any necessary precautions before running.

This script monitors a specific Windows service and automatically restarts it if it stops. It uses WMI events, and logs all actions to a file for auditing.

Clone this wiki locally