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:
irm "https://get.winhance.net" | iex
What does this command do?
- irm (Invoke-RestMethod): Downloads the
Winhance.ps1script from our installation server. - iex (Invoke-Expression): Executes the script in your current PowerShell session.
- Installation: The script automatically downloads the latest Winhance Installer from GitHub and launches it for you.
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!