Skip to content

Commit 69590c5

Browse files
committed
Script now shows what user changes will be applied to in the title header.
1 parent 431064f commit 69590c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Win11Debloat.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,9 @@ function PrintHeader {
632632
if($global:Params.ContainsKey("Sysprep")) {
633633
$fullTitle = "$fullTitle (Sysprep mode)"
634634
}
635+
else {
636+
$fullTitle = "$fullTitle (User: $Env:UserName)"
637+
}
635638

636639
Clear-Host
637640
Write-Output "-------------------------------------------------------------------------------------------"

0 commit comments

Comments
 (0)