mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-06-14 02:09:35 -06:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user