winget-cli

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

Remove-WinGetSource.md (1559B)


      1 ---
      2 external help file: Microsoft.WinGet.Client.Cmdlets.dll-Help.xml
      3 Module Name: Microsoft.WinGet.Client
      4 ms.date: 08/01/2024
      5 online version:
      6 schema: 2.0.0
      7 title: Remove-WinGetSource
      8 ---
      9 
     10 # Remove-WinGetSource
     11 
     12 ## SYNOPSIS
     13 Removes a configured source.
     14 
     15 ## SYNTAX
     16 
     17 ```
     18 Remove-WinGetSource -Name <String> [<CommonParameters>]
     19 ```
     20 
     21 ## DESCRIPTION
     22 
     23 This command removes a configured WinGet source. By default, there are two sources registered:
     24 `msstore` and `winget`. You can add more sources using `Add-WinGetSource`. This command must be executed with administrator permissions.
     25 
     26 ## EXAMPLES
     27 
     28 ### Example 1: Remove a single source by name
     29 
     30 ```powershell
     31 Remove-WinGetSource -Name msstore
     32 ```
     33 
     34 The example shows how to remove a WinGet source by name.
     35 
     36 ## PARAMETERS
     37 
     38 ### -Name
     39 
     40 Specify the name of the source to be removed.
     41 
     42 ```yaml
     43 Type: System.String
     44 Parameter Sets: (All)
     45 Aliases:
     46 
     47 Required: True
     48 Position: Named
     49 Default value: None
     50 Accept pipeline input: True (ByPropertyName, ByValue)
     51 Accept wildcard characters: False
     52 ```
     53 
     54 ### CommonParameters
     55 
     56 This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
     57 -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable,
     58 -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
     59 [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
     60 
     61 ## INPUTS
     62 
     63 ### System.String
     64 
     65 ## OUTPUTS
     66 
     67 ### System.Object
     68 
     69 ## NOTES
     70 
     71 ## RELATED LINKS
     72 
     73 [Add-WinGetSource](Add-WinGetSource.md)
     74 
     75 [Reset-WinGetSource](Reset-WinGetSource.md)