winget-cli

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

WinGetPackageManager.md (1294B)


      1 ---
      2 external help file: Microsoft.WinGet.DSC.psm1-Help.xml
      3 Module Name: Microsoft.WinGet.DSC
      4 ms.date: 08/28/2024
      5 online version:
      6 schema: 2.0.0
      7 title: WinGetPackageManager
      8 ---
      9 
     10 # WinGetPackageManager
     11 
     12 ## SYNOPSIS
     13 Configures the WinGet package manager package itself.
     14 
     15 ## DESCRIPTION
     16 
     17 Allows the WinGet package manager package version to be configured. If multiple of the version targeting parameters are True/non-empty, they will take precedence in the following order: `UseLatest`, `UseLatestPreRelease`, `Version`.
     18 
     19 ## PARAMETERS
     20 
     21 **Parameter**|**Attribute**|**DataType**|**Description**|**Allowed Values**
     22 :-----|:-----|:-----|:-----|:-----
     23 `SID`|Key|String|The SID of the user to target, or an empty string to target the current user. **Only the empty string is currently supported.**|See [security identifiers](https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-identifiers)
     24 `Version`|Optional|String|A version of the WinGet package manager package.|See [the WinGet release tags](https://github.com/microsoft/winget-cli/releases)
     25 `UseLatest`|Optional|Boolean|The latest publicly available release should be used.|`True`, `False` (default)
     26 `UseLatestPreRelease`|Optional|Boolean|The latest preview release should be used.|`True`, `False` (default)