Export (0) Print
Expand All
Expand Minimize

New-CMCategory

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

New-CMCategory

Creates a configuration category in Configuration Manager.

Syntax

Parameter Set: NewCategory
New-CMCategory -CategoryType <CategoryType> {UserCategories | BaselineCategories | DriverCategories | AppCategories | GlobalCondition | CatalogCategories} -Name <String> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The New-CMCategory cmdlet creates a configuration category in Microsoft System Center 2012 Configuration Manager. Configuration categories offer an optional method of sorting and filtering configuration baselines and configuration items in System Center 2012 Configuration Manager and Configuration Manager reports.

Parameters

-CategoryType<CategoryType>

Specifies a category type. Valid values for this parameter are:

-- BaselineCategories
-- DriverCategories
-- AppCategories
-- GlobalCondition
-- CatalogCategories


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies a name for the configuration category.


Aliases

LocalizedCategoryInstanceName

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


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.

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: Create a configuration category

This command creates a new category in DriverCategories named NewLaptopDriverSet.


PS C:\> New-CMCategory -CategoryType "DriverCategories" -Name "NewLaptopDriverSet"

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft