Skip to content

options suggestion #188

@strotee

Description

@strotee

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions