Install-CMClient

Install-CMClient

Installs a Configuration Manager client.

構文

Parameter Set: SearchByNameMandatory
Install-CMClient -AlwaysInstallClient <Boolean> -ForceReinstall <Boolean> -IncludeDomainController <Boolean> -Name <String> -SiteCode <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByDeviceIdMandatory
Install-CMClient -AlwaysInstallClient <Boolean> -DeviceId <String> -ForceReinstall <Boolean> -IncludeDomainController <Boolean> -SiteCode <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByDeviceNameMandatory
Install-CMClient -AlwaysInstallClient <Boolean> -DeviceName <String> -ForceReinstall <Boolean> -IncludeDomainController <Boolean> -SiteCode <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByDeviceValueMandatory
Install-CMClient -AlwaysInstallClient <Boolean> -Device <IResultObject> -ForceReinstall <Boolean> -IncludeDomainController <Boolean> -SiteCode <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Install-CMClient -AlwaysInstallClient <Boolean> -CollectionId <String> -ForceReinstall <Boolean> -IncludeDomainController <Boolean> -SiteCode <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Install-CMClient -AlwaysInstallClient <Boolean> -ForceReinstall <Boolean> -IncludeDomainController <Boolean> -InputObject <IResultObject> -SiteCode <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Install-CMClient cmdlet installs a client for Microsoft System Center 2012 Configuration Manager.

パラメーター

-AlwaysInstallClient<Boolean>

Indicates whether Configuration Manager always installs the client.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-CollectionId<String>

Specifies the ID of the collection to which the client belongs.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-Device<IResultObject>

Specifies a Configuration Manager device object. You can get a Configuration Manager device object by using the Get-CMDevice cmdlet.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-DeviceId<String>

Specifies the ID for the device to which Configuration Manager installs the client.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-DeviceName<String>

Specifies the name of the device to which Configuration Manager installs the client.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-ForceReinstall<Boolean>

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-IncludeDomainController<Boolean>

Indicates whether Configuration Manager authenticates and authorizes the client by using the clients domain controller.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-InputObject<IResultObject>

Specifies a Configuration Manager client object. You can get a Configuration Manager client object by using the Get-Client cmdlet.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-Name<String>

Specifies the name of a Configuration Manager client.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-SiteCode<String>

Specifies the site code for the Configuration Manager site that hosts this site system role.

エイリアス

なし

必須?

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: Install a client

This command installs the client named RemoteClient05 on the Configuration Manager site that has the site code CM1.

PS C:\> Install-CMClient -Name "RemoteClient05" -SiteCode "CM1" -AlwaysInstallClient $True -IncludeDomainController $True

関連トピック

Get-CMClientSetting

New-CMClientSetting

Remove-CMClientSetting

Set-CMClientSetting

Set-CMClientStatusSetting

Update-CMClientStatus

Get-CMDevice