Home / Articles

Let ChatGPT run PowerShell on your Windows PC

Let ChatGPT or Claude run PowerShell and cmd commands on your own Windows PC: find files, check processes, clean up folders and run scripts, even from your phone.

Windows users often copy a PowerShell command from ChatGPT, paste it, copy the error back, and repeat. Shellway removes the copy-paste: the AI runs the command on your PC and reads the result itself.

Setup (about 2 minutes)

  1. Add Shellway to ChatGPT (guide) or Claude (guide).
  2. Open PowerShell on your PC and paste the setup command shown on your dashboard. No admin rights needed.
  3. The agent starts in the background and again when you log in, so you can close the window.

PowerShell and cmd both work

Commands written in PowerShell (for example Get-Process, Get-ChildItem, $env:USERPROFILE) run in PowerShell automatically; classic cmd commands keep running in cmd. Hindi and other non-English file names and output are shown correctly.

Example requests

  • "Find all PDF files in my Downloads folder bigger than 50 MB."
  • "Which programs start when Windows starts?"
  • "Show the 10 processes using the most memory."
  • "Move last month's screenshots from Desktop into a folder called Screenshots-October."
  • "Run my backup script in D:\scripts and tell me if it finished without errors."

Use it while you are away

Keep the PC on and charging, and turn on keep-awake with npx shellway policy keep-awake on. Then you can ask from ChatGPT on your phone. See ChatGPT on your PC from your phone.

Safety

Start in read-only mode if you like, block commands you never want run, and limit the AI to chosen folders — these rules live on your PC. Every action is logged. Read more.

Start free — no card