New-CMAssetIntelligenceCatalogItem
Creates an item for the Asset Intelligence catalog.
Syntax
New-CMAssetIntelligenceCatalogItem
-CategoryName <String>
[-Description <String>]
[-LanguageId <Int32>]
-Type <Types>
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The New-CMAssetIntelligenceCatalogItem cmdlet creates software categories, software families, and custom software labels from the Asset Intelligence catalog in 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.
Note
Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>
. For more information, see getting started.
Examples
Example 1: Create category label item in the catalog
PS XYZ:\> New-CMAssetIntelligenceCatalogItem -CategoryName "Databases" -LanguageId 1033 -Type TypeTag
This command creates a category label in the Asset Intelligence catalog named Databases that has a language ID of 1033 and a type of TypeTag.
Example 2: Create a category item in the catalog
PS XYZ:\> New-CMAssetIntelligenceCatalogItem -CategoryName "Database Tools" -Type TypeCategory
This command creates a category in the Asset Intelligence catalog named Database Tools that has a type of TypeCategory.
Example 3: Create a category family in the catalog
PS XYZ:\> New-CMAssetIntelligenceCatalogItem -CategoryName "Database Software" -Type TypeFamily
This command creates a category family item in the Asset Intelligence catalog family named Database Software that has a type of TypeFamily.
Parameters
-CategoryName
Specifies the name of a category, family, or label in the Asset Intelligence catalog.
Type: | String |
Position: | Named |
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: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Description
Specifies the description of a category, family, or label in the Asset Intelligence catalog.
Type: | String |
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 |
-ForceWildcardHandling
This parameter processes wildcard characters and may lead to unexpected behavior (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 |
-LanguageId
Specifies the locale ID for an item. For more information and a list of locale IDs, see Appendix A: Product Behavior.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Type
Specifies the type of Asset Intelligence catalog item. The acceptable values for this parameter are:
- TypeCategory
- TypeFamily
- TypeTag
Type: | Types |
Accepted values: | TypeCategory, TypeFamily, TypeTag |
Position: | Named |
Default value: | None |
Required: | True |
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: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
IResultObject