mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-04-03 14:06:27 +00:00
8 lines
146 B
PowerShell
8 lines
146 B
PowerShell
|
|
function GetUserName {
|
||
|
|
if ($script:Params.ContainsKey("User")) {
|
||
|
|
return $script:Params.Item("User")
|
||
|
|
}
|
||
|
|
|
||
|
|
return $env:USERNAME
|
||
|
|
}
|