Export (0) Print
Expand All
Expand Minimize

Approve-CMDevice

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Approve-CMDevice

Approves Configuration Manager device clients.

Syntax

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>]




Detailed Description

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 PKI certificates.

Parameters

-DeviceId<String[]>

Specifies an array of device IDs.


Aliases

ResourceId

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DeviceName<String[]>

Specifies an array of device names.


Aliases

Name

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<IResultObject>

Specifies a CMDevice object. To obtain a CMDevice object, use the Get-CMDevice cmdlet.


Aliases

none

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: Approve a device client

This command approves the Configuration Manager device client named CMCEN-DIST02.


PS C:\> Approve-CMDevice -DeviceName "CMCEN-DIST02"

Related topics

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