Skip to content

Instantly share code, notes, and snippets.

@TimothyK
Created July 25, 2025 20:39
Show Gist options
  • Select an option

  • Save TimothyK/ff967c4d1150e89407b35329fc6b3161 to your computer and use it in GitHub Desktop.

Select an option

Save TimothyK/ff967c4d1150e89407b35329fc6b3161 to your computer and use it in GitHub Desktop.
BAT extension to run a PowerShell script
@echo off
powershell.exe -ExecutionPolicy Bypass -File "C:\Tools\HardClean.ps1" %1
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment