https://github.com/sapphsky/powerexpressgui
A PowerShell script used to quickly deploy and assess a device after Windows installation
https://github.com/sapphsky/powerexpressgui
install-scripts powershell powershell-script utility-scripts windows windows-10 windows-11
Last synced: 2 months ago
JSON representation
A PowerShell script used to quickly deploy and assess a device after Windows installation
- Host: GitHub
- URL: https://github.com/sapphsky/powerexpressgui
- Owner: SapphSky
- License: mit
- Created: 2024-06-24T21:22:49.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-03-05T13:37:28.000Z (3 months ago)
- Last Synced: 2025-04-12T09:11:38.140Z (2 months ago)
- Topics: install-scripts, powershell, powershell-script, utility-scripts, windows, windows-10, windows-11
- Language: PowerShell
- Homepage: https://win.refurb.sh
- Size: 99.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# win.refurb.sh (formerly PowerExpressGUI)
A PowerShell script to help quickly diagnose and set up a Windows computer with driver updates and diagnostics right after installation.
## Features
* Install drivers using the [PSWindowsUpdate](https://www.powershellgallery.com/packages/pswindowsupdate) module.
* Generate and view the Battery Report using the `powercfg /batteryreport` command.**Be sure to configure the Wi-Fi settings in the XML file so that the script has access to the internet when running after installation.**
## Usage
If in the OOBE (Out-Of-Box Experience), press Shift + F10 to open a Command Prompt.
Run PowerShell as an Administrator: `powershell`
Once connected to the internet, run the following command:
```
irm win.refurb.sh | iex
```### Autounattend.xml
No .iso modifications required. Just create an `autounattend.xml` with
You can generate one using [this site](https://schneegans.de/windows/unattend-generator/) (schneegans.de) or use this [preset I made](https://schneegans.de/windows/unattend-generator/view/?LanguageMode=Interactive&ProcessorArchitecture=x86&ProcessorArchitecture=amd64&BypassRequirementsCheck=true&BypassNetworkCheck=true&ComputerNameMode=Random&TimeZoneMode=Implicit&PartitionMode=Interactive&WindowsEditionMode=Unattended&WindowsEdition=pro&UserAccountMode=Interactive&PasswordExpirationMode=Unlimited&LockoutMode=Default&WifiMode=Unattended&WifiName=2ARTech&WifiNonBroadcast=true&WifiAuthentication=WPA2PSK&WifiPassword=qwertyui&ExpressSettings=Interactive&SystemScript0=Invoke-RequestMethod+https%3A%2F%2Fgithub.com%2FSapphSky%2FPowerExpressGUI%2Fraw%2Fmain%2Fpreboot.ps1+%7C+Invoke-Expression&SystemScriptType0=Ps1&WdacMode=Skip)Attach one of the `autounattend.xml` files to the root of your Windows install USB.
If you are using [Ventoy](https://github.com/Ventoy/Ventoy), make sure to assign it in the Auto Install section of the VentoyPlugon for Windows.
Once the installation has finished and rebooted, you will be connected to the Wi-Fi network automatically, and will begin to run the script.