src/PowerShell/Help/Microsoft.WinGet.Client/Remove-WinGetSource.md
Removes a configured source.
Remove-WinGetSource -Name <String> [<CommonParameters>]
This command removes a configured WinGet source. By default, there are two sources registered:
msstore and winget. You can add more sources using Add-WinGetSource. This command must be executed with administrator permissions.
Remove-WinGetSource -Name msstore
The example shows how to remove a WinGet source by name.
Specify the name of the source to be removed.
Type: System.String
Parameter Sets: (All)
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.