We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Quick Method
1 parent 875d55f commit b779b8cCopy full SHA for b779b8c
Get.ps1
@@ -84,7 +84,14 @@ Expand-Archive "$env:TEMP/win11debloat-temp.zip" "$env:TEMP/Win11Debloat"
84
Remove-Item "$env:TEMP/win11debloat-temp.zip"
85
86
# Make list of arguments to pass on to the script
87
-$arguments = $($PSBoundParameters.GetEnumerator() | ForEach-Object {"-$($_.Key)"})
+$arguments = $($PSBoundParameters.GetEnumerator() | ForEach-Object {
88
+ if ($_.Value -eq $true) {
89
+ "-$($_.Key)"
90
+ }
91
+ else {
92
+ "-$($_.Key) ""$($_.Value)"""
93
94
+})
95
96
Write-Output ""
97
Write-Output "> Running Win11Debloat..."
0 commit comments