Approve-CMDevice
Approve-CMDevice
Approves Configuration Manager device clients.
構文
Parameter Set: SearchByNameMandatory
Approve-CMDevice -DeviceName <String[]> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Approve-CMDevice -DeviceId <String[]> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory
Approve-CMDevice -InputObject <IResultObject> [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Approve-CMDevice cmdlet approves one or more Microsoft System Center 2012 Configuration Manager device clients to join a site. You cannot approve a System Center 2012 Configuration Manager client until you have installed the device and assigned it to a site.
When the client device communicates with site systems by using HTTP and a self-signed certificate, you must approve these clients to identify them as trusted computers. By default, the site configuration automatically approves client devices from the same Active Directory forest and trusted forests, so you do not have to manually approve each client device. You must manually approve workgroup computers that you trust and any other computers that you trust but are not approved.
You do not have to approve clients that always communicate to site systems by using HTTPS rather than HTTP, or clients that use a PKI certificate when they communicate to site systems by using HTTP. These clients establish trust with System Center 2012 Configuration Manager by using the public key infrastructure (PKI) certificates.
パラメーター
-DeviceId<String[]>
Specifies an array of device IDs.
エイリアス |
ResourceId |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DeviceName<String[]>
Specifies an array of device names.
エイリアス |
Name |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-InputObject<IResultObject>
Specifies a CMDevice object. To obtain a CMDevice object, use the Get-CMDevice cmdlet.
エイリアス |
なし |
必須? |
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: Approve a device client
This command approves the Configuration Manager device client named CMCEN-DIST02.
PS C:\> Approve-CMDevice -DeviceName "CMCEN-DIST02"