mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-06-11 11:06:27 +00:00
Add default case to Invoke-UndoFeatureAction for undefined feature IDs
This commit is contained in:
@@ -42,6 +42,11 @@ function Invoke-UndoFeatureAction {
|
|||||||
Write-Host ""
|
Write-Host ""
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
default {
|
||||||
|
Write-Host "> No undo action defined for $FeatureId, skipping..." -ForegroundColor Yellow
|
||||||
|
Write-Host ""
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user