Feat: Auto-save selected drivers and refine script execution

Adds a feature to automatically save the selected drivers to `Drivers.json` upon download, preserving the user's selection for future use.

Improves script execution by:
- Ensuring the disk cleanup process completes before proceeding.
- Suppressing progress bars globally for a cleaner console output.
- Hiding non-critical warnings during driver installation.
- Removing an unused BITS transfer function and trailing whitespace.
This commit is contained in:
rbalsleyMSFT
2025-07-14 16:55:15 -07:00
parent 08c9d5a0e3
commit 21d5f74dd8
4 changed files with 118 additions and 49 deletions
@@ -257,4 +257,7 @@ function Set-Progress {
WriteLog "[PROGRESS] $Percentage | $Message"
}
# Suppress the default progress bar for a cleaner console output for any script importing this module.
# $ProgressPreference = 'SilentlyContinue'
Export-ModuleMember -Function *