mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-04-03 22:16:30 +00:00
10 lines
374 B
PowerShell
10 lines
374 B
PowerShell
# Target is determined from $script:Params["AppRemovalTarget"] or defaults to "AllUsers"
|
|
# Target values: "AllUsers" (removes for all users + from image), "CurrentUser", or a specific username
|
|
function GetTargetUserForAppRemoval {
|
|
if ($script:Params.ContainsKey("AppRemovalTarget")) {
|
|
return $script:Params["AppRemovalTarget"]
|
|
}
|
|
|
|
return "AllUsers"
|
|
}
|