New-CMCategory

New-CMCategory

Creates a configuration category in Configuration Manager.

構文

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

詳細説明

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.

パラメーター

-CategoryType<CategoryType>

Specifies a category type. Valid values are:

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

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Name<String>

Specifies a name for the configuration category.

エイリアス

LocalizedCategoryInstanceName

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Create a configuration category

This command creates a new category in DriverCategories named NewLaptopDriverSet.

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

関連トピック

Remove-CMCategory

Get-CMCategory