external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.WinGet.RestSource-help.xml |
microsoft.WinGet.RestSource |
2.0.0 |
Removes a Manifest from the Windows Package Manager REST source.
Remove-WinGetManifest [-FunctionName] <String> [-PackageIdentifier] <String> [[-PackageVersion] <String>]
[-SubscriptionName <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Removes a Manifest from the Windows Package Manager REST source.
This function will connect to the Azure Tenant that hosts the Windows Package Manager REST source, removing the
specified Manifest.
Remove-WinGetManifest -FunctionName "contosorestsource" -PackageIdentifier "Windows.PowerToys"
Connects to Azure, then runs the Azure Function "contosorestsource" REST APIs to remove all versions of the specified Manifest from the Windows Package Manager REST source.
Remove-WinGetManifest -FunctionName "contosorestsource" -PackageIdentifier "Windows.PowerToys" -PackageVersion "1.0.0.0"
Connects to Azure, then runs the Azure Function "contosorestsource" REST APIs to remove specified version of the specified Manifest from the Windows Package Manager REST source.
Name of the Azure Function that hosts the Windows Package Manager REST source.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Supports input from pipeline by property. The Package Identifier that represents the Manifest to be removed.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
[Optional] Supports input from pipeline by property. The Package version that represents the Manifest to be removed. If empty, all versions will be removed.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
[Optional] The name of the subscription containing the Windows Package Manager REST source.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.