Remove-CMAssetIntelligenceCatalogItem

Remove-CMAssetIntelligenceCatalogItem

Removes an item from the Asset Intelligence catalog.

Syntax

Parameter Set: SearchByIdMandatory
Remove-CMAssetIntelligenceCatalogItem -Id <String[]> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByNameMandatory
Remove-CMAssetIntelligenceCatalogItem -CategoryName <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Remove-CMAssetIntelligenceCatalogItem -InputObject <IResultObject> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Remove-CMAssetIntelligenceCatalogItem cmdlet removes software categories, software families, and custom software labels from the Asset Intelligence catalog in Microsoft System Center 2012 Configuration Manager.

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

-Force

Removes a category, family, or label from the Configuration Manager Asset Intelligence catalog without prompting you for confirmation.

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 obtain 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

-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: Remove a catalog item by category name

This command removes the category named Database Tools from the Asset Intelligence catalog.

PS C:\> Remove-CMAssetIntelligenceCatalogItem -CategoryName "Database Tools"

New-CMAssetIntelligenceCatalogItem

Get-CMAssetIntelligenceCatalogItem

Set-CMAssetIntelligenceCatalogItem