Add an update-status tool and copy numbered scripts to Desktop\Tools
80-Get-UpdateStatus-Admin.ps1 prints whether the Windows 11 guest is upgrading or downloading updates (policy, pending markers, services, processes, BITS jobs, update events, network use); the .bat launcher elevates and keeps the window open. The seed ISO and Configure-Windows.ps1 now take every NN-*.bat and NN-*.ps1, and the first-logon copy goes to Desktop\Tools instead of Desktop\Installers. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fccc7986d9
commit
72af276309
5 files changed
+127
-5
No files matched your search
@@ -43,9 +43,10 @@ if [[ -n "$ssh_key" ]]; then
|
||||
cp -- "$ssh_key" "$work_dir/authorized_keys"
|
||||
seed_files+=("$work_dir/authorized_keys")
|
||||
fi
|
||||
# Numbered installer scripts (10-Install-Git-Admin.bat, 20-..., in install order).
|
||||
# Numbered scripts: installers (10-Install-Git-Admin.bat, 20-..., in install order)
|
||||
# and tools (80-Get-UpdateStatus-Admin.bat/.ps1); all land in Desktop\Tools.
|
||||
shopt -s nullglob
|
||||
seed_files+=("$script_dir"/[0-9][0-9]-*.bat)
|
||||
seed_files+=("$script_dir"/[0-9][0-9]-*.bat "$script_dir"/[0-9][0-9]-*.ps1)
|
||||
shopt -u nullglob
|
||||
|
||||
mkdir -p "$(dirname -- "$output")"
|
||||
|
||||
Reference in new issue
Block a user