Export (0) Print
Expand All
Expand Minimize

Set-CMEnrollmentPoint

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Set-CMEnrollmentPoint

Sets an enrollment point in System Center 2012 Configuration Manager.

Syntax

Parameter Set: SetByName
Set-CMEnrollmentPoint -SiteCode <String> -SiteSystemServerName <String> [-UseComputerAccount] [-UserName <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SetByValue
Set-CMEnrollmentPoint -InputObject <IResultObject> [-UseComputerAccount] [-UserName <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Set-CMEnrollmentPoint cmdlet sets an enrollment point in Microsoft System Center 2012 Configuration Manager. An enrollment point is a site system role that uses public key infrastructure (PKI) certificates to complete mobile device enrollment and to provision Intel AMT-based computers.

Parameters

-InputObject<IResultObject>

Specifies an input object. To obtain an input object, use the Get-CMEnrollmentPoint cmdlet.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteCode<String>

Specifies the site code for a System Center 2012 Configuration Manager site.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteSystemServerName<String>

Specifies the fully qualified domain name (FQDN) of the server that hosts the site system role.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-UseComputerAccount

Indicates that you use the computer account to connect to the Configuration Manager database.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-UserName<String>

Specifies a user account that the enrollment point uses to connect to the Configuration Manager database.


Aliases

none

Required?

false

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: Set an enrollment point

This example sets an enrollment point for a server.

The command sets an enrollment point, and specifies an account name to use to connect to the Configuration Manager database.


PS C:\> Set-CMEnrollmentPoint -SiteSystemServerName "CM-Contoso.Contoso.Com" -SiteCode "CM2" -UserName "Contoso\AimeeLott"

Example 2: Set an enrollment point with the computer account

This example sets an enrollment point and uses the computer account to connect to the Configuration Manager database.

The command sets an enrollment point by specifying the site system server and site code, and uses the computer account to connect to the Configuration Manager database.


PS C:\> Set-CMEnrollmentPoint -SiteSystemServerName "CM-Contoso.Contoso.Com" -SiteCode "CM2" -UseComputerAccount

Example 3: Set an enrollment point by using an input object

This example uses an input object to set an enrollment point.

The first command uses the Get-CMEnrollmentPoint cmdlet to get an enrollment point, and stores the result in the $Ep variable.

The second command sets an enrollment point for a server by using the input object stored in the $Ep variable.


PS C:\> $Ep = Get-CMEnrollmentPoint -SiteSystemServerName "CM-Contoso.Contoso.Com" -SiteCode "CM2" 
PS C:\> Set-CMEnrollmentPoint -InputObject $Ep -UserName "Contoso\AimeeLott"

Related topics

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