PowerX is a simple PowerShell-based multi-tool designed to simplify Windows command execution. It allows users to analyze networks, retrieve system information and Wi-Fi passwords, and fix critical files to maintain system security and integrity.
PowerX includes 33 simplified Windows commands across various categories:
- Ping a host
- Flush DNS
- Display IP configuration
- Trace route
- Display ARP table
- Release & renew IP
- Display network statistics
- Display system details
- View disk usage
- List running processes
- Show installed drivers
- Display boot configuration
- View environment variables
- Show Wi-Fi profiles
- Retrieve Wi-Fi passwords
- Disconnect from Wi-Fi
- Run System File Checker (SFC)
- Execute Check Disk (chkdsk)
- Repair system image (DISM)
- Fix boot configuration
- Enable/disable firewall
- Scan for malware (quick & full scan)
- Kill a process by PID
- Display open ports
- View user accounts
- Query/start/stop Windows services
- Query/add/delete registry keys
- Download the PowerX from the Releases
- Run PowerX.exe as Administrator.
- Download the PowerX script:
mkdir PowerX git clone https://github.com/Larence2005/PowerX.git
- Open PowerX.ps1 as Administrator.
- Download the PowerX script:
mkdir PowerX git clone https://github.com/Larence2005/PowerX.git
- Open PowerShell as Administrator.
- Navigate to the script directory:
cd path\to\PowerX
- Run the script:
.\PowerX.ps1
Note: Ensure execution policy allows running scripts:
Set-ExecutionPolicy Bypass -Scope Process -Force
- Windows OS
- PowerShell 5.1 or later
- Administrator privileges (for module installation)
First, install the ps2exe module by running the following command in PowerShell:
Install-Module -Name ps2exe -Scope CurrentUser
If prompted to install from an untrusted repository, type Y and press Enter.
Use the following command to convert your PowerShell script to an executable:
ps2exe "C:\path\to\your\script.ps1" "C:\path\to\output.exe"
Example:
ps2exe "C:\Scripts\PowerX.ps1" "C:\Scripts\PowerX.exe"
You can customize the conversion using various parameters:
- Set architecture:
-x86
(32-bit) or-x64
(64-bit) - Embed an icon:
-icon "C:\path\to\icon.ico"
Example with additional options:
ps2exe "PowerX.ps1" "PowerX.exe" -x64 -icon "icon.ico"
- If the command is not recognized, restart PowerShell and try again.
- If execution policy errors occur, run:
Set-ExecutionPolicy Bypass -Scope Process -Force
John Larence Lusaya
- Visit my website
Bitcoin: bc1qayxlfxvyjcspkq85fjh454hlpcgsqaclvus33d
This project is open-source under the MIT License. Feel free to modify and contribute!