This short guide shows you how to configure PowerWash ahead of time with what features you want to run.
PowerWash.ps1 and PowerWashSettings.yml.
git clone https://github.com/PublicSatanicVoid/WindowsPowerWashPowerWashSettings.yml to enable/disable the features you want to use. For example, if you want to automatically restart when it finishes, change "AutoRestart": true to "AutoRestart": false.
"RemovePreinstalled" and "InstallConfigured", respectively, are set to true.ExecutionPolicy allows scripts to runcd to the directory containing PowerWash.ps1, e.g. cd C:\Users\User\Downloads.\PowerWash.ps1 /config. The /config option tells PowerWash to use the settings from PowerWashSettings.yml rather than prompting the user. You will not be prompted at any point during execution.
.\PowerWash.ps1 /config <filepath> to specify a different configuration file.