WSL Cron to PowerShell: Copy Files, Restart Services
How to run PowerShell from a WSL cron job to copy files between Windows and WSL, run Windows scripts, restart WSL services such as Hugo, and restart Windows services such as IIS.
How to run PowerShell from a WSL cron job to copy files between Windows and WSL, run Windows scripts, restart WSL services such as Hugo, and restart Windows services such as IIS.
How to fix VS Code Remote WSL failing to download the VS Code Server with HTTP 404 after an update, and why WSL can still work from the command line.
How to troubleshoot Windows Task Scheduler Event ID 101 with error value 2147750687, why it usually means another instance is already running, and how to fix overlapping or stuck scheduled tasks.
Why Windows installers leave random hex folders on C:\, why deletion may require SYSTEM permission, and how to remove confirmed temporary installer folders with PowerShell.
Defensive notes on Windows event log tampering, audit risk, detection signals, and practical controls for administrators.
Practical logging patterns for PowerShell scripts that run unattended in scheduled tasks, servers, and admin automation.
What administrators can recover after Windows event logs are cleared, and how to prevent local log loss with forwarding, exports, and central collection.
How to handle PowerShell errors with try, catch, and finally while writing error messages to both the console and a log file.
Practical notes on PowerShell operators, object pipelines, custom objects, JSON/CSV output, and reliable script paths.
How to use PowerShell to discover Windows PCs, query installed applications remotely, and export a software inventory report.