winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 90be304ae65cb8a43c23b1eb3d4545cb6e9a8ccd
parent 2741e919c6d162d98055fee420afab59f15606ab
Author: Ryan <69221034+ryfu-msft@users.noreply.github.com>
Date:   Tue, 20 Feb 2024 11:27:25 -0800

Update WinGet Download spec with accurate PS cmdlet help (#4182)


Diffstat:
Mdoc/specs/#658 - WinGet Download.md | 37+++++++++++++++++++++----------------
1 file changed, 21 insertions(+), 16 deletions(-)

diff --git a/doc/specs/#658 - WinGet Download.md b/doc/specs/#658 - WinGet Download.md @@ -105,29 +105,34 @@ The following items will be included in the WinGet Settings Schema The "defaultDownloadDirectory" setting will be used as the default folder where the package installer and manifest is downloaded to. ### WinGet PowerShell Cmdlet -WinGet PowerShell cmdlet will download the identified package's installer and manifest based on the user specified parameters. While downloading the package's installer, PowerShell will show a progress bar displaying the progress. Afterwards, it will return the downloaded directory where the files were downloaded to.: +WinGet PowerShell cmdlet will download the identified package's installer and manifest based on the user specified parameters. While downloading the package's installer, PowerShell will show a progress bar displaying the progress. Once the download is complete, the status of the download will be shown to the user, along with the id, name, and source of the package. -```PS -PS C:\> Get-Help Save-WinGetPackage +``` +C:\> Export-WinGetPackage -? NAME - Save-WinGetPackage - -SYNOPSIS - Downloads a package installer from a WinGet configured source. + Export-WinGetPackage SYNTAX - Save-WinGetPackage [-ID <System.String>] [-Name <System.String>] [-Moniker <System.String>] - [-Scope <System.String>] [-Locale <System.String>] [-FileName <System.String>] - [-Version <System.String>] [-Source <System.String>] [-Architecture <System.String>] [-Exact] - [-Output <System.String>] [InstallerType <System.String>] [-IgnoreSecurityHash] - [-AcceptPackageAgreement] [-Wait] [-Verbose] + Export-WinGetPackage [[-Query] <string[]>] [-DownloadDirectory <string>] [-AllowHashMismatch] [-Architecture + {Default | X86 | Arm | X64 | Arm64}] [-InstallerType {Default | Inno | Wix | Msi | Nullsoft | Zip | Msix | Exe | + Burn | MSStore | Portable}] [-Locale <string>] [-Scope {Any | User | System | UserOrUnknown | SystemOrUnknown}] + [-SkipDependencies] [-Version <string>] [-Id <string>] [-Name <string>] [-Moniker <string>] [-Source <string>] + [-MatchOption {Equals | EqualsCaseInsensitive | StartsWithCaseInsensitive | ContainsCaseInsensitive}] [-WhatIf] + [-Confirm] [<CommonParameters>] + + Export-WinGetPackage [[-PSCatalogPackage] <PSCatalogPackage>] [-DownloadDirectory <string>] [-AllowHashMismatch] + [-Architecture {Default | X86 | Arm | X64 | Arm64}] [-InstallerType {Default | Inno | Wix | Msi | Nullsoft | Zip | + Msix | Exe | Burn | MSStore | Portable}] [-Locale <string>] [-Scope {Any | User | System | UserOrUnknown | + SystemOrUnknown}] [-SkipDependencies] [-Version <string>] [-WhatIf] [-Confirm] [<CommonParameters>] + + +ALIASES + None -DESCRIPTION - Downloads a package installer and manifest, either found by searching a configured source or - directly from a manifest. By default, the query must case-insensitively match the id, name, or - moniker of the package. Other fields can be used by passing their appropriate option. +REMARKS + None ``` ## Capabilities