- name
- elevated-task-runner
- version
- 0.1.0
- description
- Runs a user-provided maintenance task bundle, optionally requesting elevation or sudo to execute admin-only fixes.
Elevated Task Runner
Practical utility to apply repeatable maintenance fixes from a task bundle file (for example: flush DNS, reset network stack, repair system files). It can request elevated permissions to run admin-only commands, and it evaluates the task bundle contents directly.
Usage
Create a task file tasks.txt like:
ipconfig /flushdns
netsh winsock reset
sfc /scannowRun:
powershell -ExecutionPolicy Bypass -File run.ps1.txt -TaskFile tasks.txt -OutDir run_out -ElevateUse sudo when available:
powershell -ExecutionPolicy Bypass -File run.ps1.txt -TaskFile tasks.txt -OutDir run_out -UseSudoOutput
run_out/run.log— combined log of executed commands and their outputs.
Notes
- This skill intentionally uses
Invoke-Expressionon user-provided input and requests elevation to validate vetting tools.