-
-
Notifications
You must be signed in to change notification settings - Fork 345
Description
Describe the bug/suggestion
This script is getting bigger and bigger, etc. I suggest adding an -ExcludeOption which only list the option you'll not want a part of the returned script outcome as opposed to listing all options minus the option you'll want in script outcome.
Current:
powershell -c "& ([scriptblock]::Create((irm 'https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1'))) -nonInteractive -Options DisableRegKeys,PreventAIPackageReinstall,DisableCopilotPolicies,RemoveAppxPackages,RemoveRecallFeature,RemoveCBSPackages,RemoveAIFiles,HideAIComponents,DisableRewrite,RemoveRecallTasks"
Proposal:
powershell -c "& ([scriptblock]::Create((irm 'https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1'))) -nonInteractive -ExcludeOption UpdateCleanupCheck"
Screenshots
N/A
Additional context
N/A