Work in Progress: Documentation is a work in progress. Some pages may be incomplete.

CLI Commands

Quick answer — CLI Commands on Windows

Command-line options can be powerful when used in deployment workflows, but they deserve the same review and rollback planning as GUI actions.

Check before you change: Test commands on a nonproduction machine and confirm options against the installed Winhance version.

Independent context: safe debloat checklist · Winhance vs Settings · how we prepare guides.

Winhance can be fetched and set up straight from a PowerShell prompt, which is handy for scripted or repeated installs.

One-Liner Installation

The fastest way to install Winhance is by running this command in an administrative PowerShell window:

powershell
irm "https://get.winhance.org" | iex

What does this command do?

  1. irm (Invoke-RestMethod): Downloads the Winhance.ps1 script from our installation server.
  2. iex (Invoke-Expression): Executes the script in your current PowerShell session.
  3. Installation: The script automatically downloads the latest Winhance Installer from GitHub and launches it for you.
ℹ️ Technical Detail

The installer is downloaded to C:\ProgramData\Winhance\Unattend\WinhanceInstaller.exe before launching. After installation, you can safely delete this file if you chose the portable installation option.

Future CLI Support

We are currently working on a full CLI interface for Winhance that will allow you to apply configurations and optimizations directly from the command line without opening the GUI. Stay tuned for updates!