Enhance script output and information gathering

Adds a new function to gather and display detailed system information (model, CPU, memory, disk size) in both the log file and the console. This helps with verification and troubleshooting.

Improves the user experience by adding an ASCII art banner and cleaning up the console output by suppressing progress bars and command echoes.

Modernizes the script by replacing the deprecated `Get-WmiObject` cmdlet with `Get-CimInstance`.
This commit is contained in:
rbalsleyMSFT
2025-07-09 18:53:50 -07:00
parent b651bc6385
commit f64514cbe6
2 changed files with 85 additions and 18 deletions
@@ -1,5 +1,6 @@
wpeinit
powercfg /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
@echo off
wpeinit > NUL
powercfg /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c > NUL
powershell -Noprofile -ExecutionPolicy Bypass -File x:\ApplyFFU.ps1
exit