WinGetSource.md (1400B)
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: WinGetSource 8 --- 9 10 # WinGetSource 11 12 ## SYNOPSIS 13 Configures a WinGet source. 14 15 ## DESCRIPTION 16 17 Allows WinGet sources to be configured or retrieved. 18 19 ## PARAMETERS 20 21 **Parameter**|**Attribute**|**DataType**|**Description**|**Allowed Values** 22 :-----|:-----|:-----|:-----|:----- 23 `Name`|Key, Mandatory|String|The name of the source.|Any string using valid characters for Windows file names 24 `Argument`|Mandatory|String|The primary data defining the source; typically the URI prefix of the source.|Source type specific value 25 `Type`|Optional|String|The type of the source.|`Microsoft.PreIndexed.Package`, `Microsoft.Rest` 26 `TrustLevel`|Optional|WinGetTrustLevel|The trust level of the source, which determines how much scrutiny is placed on it when used. If undefined and the source needs to be configured, the default value is `None`.|`Undefined` (default), `None`, `Trusted` 27 `Explicit`|Optional|WinGetOptionalBool|Whether the source is included (`False`) or not (`True`) in commands that do not specify a source. If undefined and the source needs to be configured, the default value is `False`.|`Undefined` (default), `False`, `True` 28 `Ensure`|Optional|WinGetEnsure|Whether the source should exist (`Present`) or not (`Absent`).|`Present` (default), `Absent`