A PowerShell script created to help quickly diagnose and set up a Windows computer with driver updates and diagnostics ready to view after installation.
No ISO modifications required. Just create an autounattend.xml
with
You can generate one using this site (schneegans.de) or use this preset I made (Recommended)
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.
Attach one of the autounattend.xml
files to the root of your Windows install USB.
If you are using Ventoy, make sure to assign it in the Auto Install section of the VentoyPlugon for Windows.
irm update.refurb.sh | iex
Once the installation has finished and rebooted, you will be connected to the Wi-Fi network automatically, and will begin to run the powershell script from this repo.
Issues
- Creating the Scheduled Task works, however, the task will not for whatever reason trigger in its designated condition. See preboot.ps1