Skip to content

Dinger1986 winget script change#313

Open
dinger1986 wants to merge 2 commits into
amidaware:mainfrom
dinger1986:dinger1986-winget-script-change
Open

Dinger1986 winget script change#313
dinger1986 wants to merge 2 commits into
amidaware:mainfrom
dinger1986:dinger1986-winget-script-change

Conversation

@dinger1986
Copy link
Copy Markdown
Contributor

refactored winget script so it works better

Removed 'update' and 'show' modes from the parameter options and adjusted logic for default mode assignment. Updated error handling for missing package names and winget executable.
@dinger1986
Copy link
Copy Markdown
Contributor Author

@silversword411 please check

@silversword411
Copy link
Copy Markdown
Contributor

silversword411 commented May 27, 2026

Would like to see us get all the big params people would use including pin (add/remove/list/reset), export, import, repair. Any others?

The winget command line utility enables installing applications and other packages from the command line.

usage: winget  [<command>] [<options>]

The following commands are available:
  install    Installs the given package
  show       Shows information about a package
  source     Manage sources of packages
  search     Find and show basic info of packages
  list       Display installed packages
  upgrade    Shows and performs available upgrades
  uninstall  Uninstalls the given package
  hash       Helper to hash installer files
  validate   Validates a manifest file
  settings   Open settings or set administrator settings
  features   Shows the status of experimental features
  export     Exports a list of the installed packages
  import     Installs all the packages in a file
  pin        Manage package pins
  configure  Configures the system into a desired state
  download   Downloads the installer from a given package
  repair     Repairs the selected package
  dscv3      DSC v3 resource commands
  mcp        MCP information

Your comments has some typo's. Counts are off, double ,, etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants