Set-CMAssetIntelligenceCatalogItem

Set-CMAssetIntelligenceCatalogItem

Changes the properties of an item in the Asset Intelligence catalog.

Syntax

Parameter Set: SetById
Set-CMAssetIntelligenceCatalogItem -Id <String[]> [-Description <String> ] [-LanguageId <Int32> ] [-NewCategoryName <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SetByName
Set-CMAssetIntelligenceCatalogItem -CategoryName <String> [-Description <String> ] [-LanguageId <Int32> ] [-NewCategoryName <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SetByValueMandatory
Set-CMAssetIntelligenceCatalogItem -InputObject <IResultObject> [-Description <String> ] [-LanguageId <Int32> ] [-NewCategoryName <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Set-CMAssetIntelligenceCatalogItem cmdlet changes the properties of software categories, software families, and custom software labels in the Microsoft System Center 2012 SP1 Configuration Manager Asset Intelligence catalog.

The Asset Intelligence catalog contains categorization and identification information for software titles. The catalog includes predefined categories and families. Predefined items cannot be modified. In addition to predefined software categories and software families, you can create custom categories and families. You can also create custom software labels.

Parameters

-CategoryName<String>

Specifies the name of a category, family, or label in the Asset Intelligence catalog.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Description<String>

Specifies the description of a category, family, or label in the Asset Intelligence catalog.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Id<String[]>

Specifies an array of IDs of asset intelligence catalog items.

Aliases

CategoryId

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<IResultObject>

Specifies an Asset Intelligence catalog item. To get an Asset Intelligence catalog item, use the Get-CMAssetIntelligenceCatalogItem cmdlet.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-LanguageId<Int32>

Specifies the locale ID for an item. For more information and a list of locale IDs, see Locale IDs Assigned by Microsoft (https://go.microsoft.com/fwlink/?LinkId=262651).

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-NewCategoryName<String>

Specifies a new category name for a category, family, or label in the Asset Intelligence catalog.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Change the properties of a catalog item by ID

This command changes the category name, description, and language ID for the Asset Intelligence catalog item that has the category ID 1211.

PS C:\> Set-CMAssetIntelligenceCatalogItem -Id "1211" -NewCategoryName "Windows Databases" -Description "Windows-based databases" -LanguageId 1033

Example 2: Change the properties of a catalog item category of items

This command changes the category name, description, and language ID for the Asset Intelligence catalog item that has the category name Database Tools.

PS C:\> Set-CMAssetIntelligenceCatalogItem -CategoryName "Database Tools" -NewCategoryName "Database Clients" -Description "Database client software" -LanguageId 1033

Example 3: Rename a category

This command changes the category name of the Asset Intelligence catalog item that has the category name Database Clients to Database Server Tools.

PS C:\> Set-CMAssetIntelligenceCatalogItem -CategoryName "Database Clients" -NewCategoryName "Database Server Tools"

Get-CMAssetIntelligenceCatalogItem

New-CMAssetIntelligenceCatalogItem

Remove-CMAssetIntelligenceCatalogItem