Set-CMThirdPartyUpdateCategory

Modify third-party software update categories.

Syntax

Set-CMThirdPartyUpdateCategory
   [[-CatalogName] <String>]
   [-EnableCategory <Boolean>]
   [-Id <String>]
   [-Name <String>]
   [-ParentId <String>]
   [-PassThru]
   [-PublishOption <PublishOptionType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMThirdPartyUpdateCategory
   [[-CatalogId] <String>]
   [-EnableCategory <Boolean>]
   [-Id <String>]
   [-Name <String>]
   [-ParentId <String>]
   [-PassThru]
   [-PublishOption <PublishOptionType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMThirdPartyUpdateCategory
   [-Category] <IResultObject[]>
   [-EnableCategory <Boolean>]
   [-PassThru]
   [-PublishOption <PublishOptionType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMThirdPartyUpdateCategory
   [-EnableCategory <Boolean>]
   [-Id <String>]
   -InputObject <IResultObject>
   [-Name <String>]
   [-ParentId <String>]
   [-PassThru]
   [-PublishOption <PublishOptionType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Use this cmdlet to modify third-party software update categories. For more information, see Enable third-party 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

Set-CMThirdPartyUpdateCategory -Catalog $catalog -Id $categoryId -PublishOption $publishOption -EnableCategories $true
$catalog | Set-CMThirdPartyUpdateCategory -Name $categoryName -PublishOption $publishOption -EnableCategories $true
Set-CMThirdPartyUpdateCategory -CatalogId $catalogId -ParentId $parentId -PublishOption $publishOption -EnableCategories $true
Set-CMThirdPartyUpdateCategory -CatalogName $catalogName -Name $categoryName -ParentId $parentId -PublishOption $publishOption -EnableCategories $true
Set-CMThirdPartyUpdateCategory -Categories $categories -PublishOption $publishOption -EnableCategories $true

Parameters

-CatalogId

Specify the ID of the third-party update catalog.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CatalogName

Specify the name of the third-party update catalog.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:True

-Category

Specify an object for the the third-party update catalog category.

Type:IResultObject[]
Aliases:Categories
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-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

-EnableCategory

Enable the catagory for the third-party update catalog.

Type:Boolean
Aliases:EnableCategories
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 category ID for the third-party update catalog.

Type:String
Aliases:CategoryId
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Specify an object for the third-party update catalog. To get this object, use the Get-CMThirdPartyUpdateCatalog cmdlet.

Type:IResultObject
Aliases:Catalog
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Specify the category name for the third-party update catalog.

Type:String
Aliases:CategoryName
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:True

-ParentId

Specify the parent ID of the the third-party update catalog category.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PassThru

Add this parameter to return an object that represents the item with which you're working. By default, this cmdlet may not generate any output.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PublishOption

Type:PublishOptionType
Accepted values:Skip, MetadataOnly, FullContent
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-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

IResultObject

Notes

This cmdlet returns an object of the SMS_ISVCatalogCategories WMI class.