src/PowerShell/Help/Microsoft.WinGet.Client/Reset-WinGetSource.md
Resets WinGet sources.
Reset-WinGetSource -Name <String> [<CommonParameters>]
Reset-WinGetSource -All [<CommonParameters>]
Resets a named WinGet source by removing the source configuration. You can reset all configured sources and add the default source configurations using the All switch parameter. This command must be executed with administrator permissions.
Reset-WinGetSource -Name msstore
This example resets the configured source named 'msstore' by removing it.
Reset-WinGetSource -All
This example resets all configured sources and adds the default sources.
Reset all sources and add the default sources.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (OptionalSet)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The name of the source.
Type: System.String
Parameter Sets: (DefaultSet)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.