New-CMClientSetting

New-CMClientSetting

Creates customized client settings.

構文

Parameter Set: New
New-CMClientSetting -Name <String> [-Description <String> ] [-Type <Types> {Default | Device | User} ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The New-CMClientSetting cmdlet creates a collection of customized settings for Microsoft System Center 2012 Configuration Manager client computers. After you create the customized settings and deploy them to client computer collections, the customized settings override the default client settings for that collection.

For more information about client settings, see About Client Settings in Configuration Manager (https://go.microsoft.com/fwlink/?LinkId=266226) on TechNet.

パラメーター

-Description<String>

Specifies a description of the content of the new settings.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-Name<String>

Specifies a name for customized client settings.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-Type<Types>

Specifies the type of customized settings. Valid values are: 1 (device) or 2 (user).

エイリアス

なし

必須?

false

位置は?

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 customized collection of client settings

This command creates customized device settings for the group of client computers that run Windows® 8. After the new collection of settings is created, the command displays an unpopulated list of setting properties. To refresh and see a populated list of properties, use Get-CMClientSetting. The output for this example shows a populated list.

PS C:\> New-CMClientSetting -Name "Win08ClientSettings" -Description "Windows 8 Client Computers Settings" -Type 1

関連トピック

Get-CMClientSetting

Remove-CMClientSetting

Set-CMClientSetting