Remove-CMThirdPartyUpdateCatalog
Remove a third-party software updates catalog.
Syntax
Remove-CMThirdPartyUpdateCatalog
[-Force]
[[-Name] <String>]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-CMThirdPartyUpdateCatalog
[-Force]
[-Id] <String>
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-CMThirdPartyUpdateCatalog
[-Force]
[-InputObject] <IResultObject>
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Use this cmdlet to remove a third-party software updates catalog. For more information, see Enable third-party software updates.
Note
Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>
. For more information, see getting started.
Examples
Example 1: Force remove the catalog by name
This example force removes the third-party update catalog by its name.
Remove-CMThirdPartyUpdateCatalog -Name "Contoso updates catalog" -Force
Example 2: Remove the catalog as an object
This example removes the third-party update catalog as an object.
$catalog = Get-CMThirdPartyUpdateCatalog -Name "Contoso updates catalog"
Remove-CMThirdPartyUpdateCatalog -ThirdPartyUpdateCatalog $catalog
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DisableWildcardHandling
This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
Force remove the third-party updates catalog.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ForceWildcardHandling
This parameter processes wildcard characters and may lead to unexpected behavior. It's not recommended. You can't combine it with DisableWildcardHandling.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Id
Specify the ID of the third-party updates catalog.
Type: | String |
Aliases: | CatalogId |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Specify an object for the third-party updates catalog. To get this object, use the Get-CMThirdPartyUpdateCatalog cmdlet.
Type: | IResultObject |
Aliases: | ThirdPartyUpdateCatalog |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Specify the name of the third-party updates catalog.
Type: | String |
Aliases: | CatalogName |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | True |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet doesn't run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
Outputs
System.Object