Back to Winget Cli

WinGetSource

src/PowerShell/Help/Microsoft.WinGet.DSC/WinGetSource.md

1.28.2401.2 KB
Original Source

WinGetSource

SYNOPSIS

Configures a WinGet source.

DESCRIPTION

Allows WinGet sources to be configured or retrieved.

PARAMETERS

ParameterAttributeDataTypeDescriptionAllowed Values
NameKey, MandatoryStringThe name of the source.Any string using valid characters for Windows file names
ArgumentMandatoryStringThe primary data defining the source; typically the URI prefix of the source.Source type specific value
TypeOptionalStringThe type of the source.Microsoft.PreIndexed.Package, Microsoft.Rest
TrustLevelOptionalWinGetTrustLevelThe 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
ExplicitOptionalWinGetOptionalBoolWhether 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
EnsureOptionalWinGetEnsureWhether the source should exist (Present) or not (Absent).Present (default), Absent