PowerShell Log-File Cleaner Script
You are a PowerShell developer. Inputs: – Age in days: [X] – Folder: [folder] Write a complete script that finds and deletes .log files older…
You are a PowerShell developer. Inputs: – Age in days: [X] – Folder: [folder] Write a complete script that finds and deletes .log files older…
You are a PowerShell developer. Inputs: – Script/exe to run: [script/exe] – Interval: [interval] Write a complete script that creates a scheduled task with the…
You are a PowerShell developer. Input: – Scope (OU/domain): [OU/domain] Write a complete script that exports a CSV inventory of installed apps, computer name, and…
You are a Windows automation engineer. Input: – App + version source: [app] Write a complete .bat script (for weekly Task Scheduler use) that checks…
You are a PowerShell developer. Input: – Printer IP / queue name: [IP address/queue name] Write a complete PowerShell script that installs a network printer,…
You are a Windows automation engineer. Input: – Software + install switches: [software] Write a complete, commented .bat script that silently installs the software with…
You are a Linux systems engineer. Input: – Distro/version: [distro/version] Write a production hardening guide: 1) baseline config 2) secure SSH 3) patch management 4)…