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

CLI Commands

Winhance provides a convenient way to install and manage the application through the PowerShell command line.

One-Liner Installation

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

powershell
irm "https://get.winhance.net" | 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!