Set-RASEnrollmentServer

NAME

Set-RASEnrollmentServer

SYNOPSIS

Modifies an Enrollment server.

SYNTAX

Set-RASEnrollmentServer [- Id ] <uint> [- Description <string> ] [- Enabled <bool> ] [- NewServer <string> ] [- PreferredBrokerId <uint> ] [ < CommonParameters > ]

Set-RASEnrollmentServer [- InputObject ] < EnrollmentServer > [- Description <string> ] [- Enabled <bool> ] [- NewServer <string> ] [- PreferredBrokerId <uint> ] [ < CommonParameters > ]

Set-RASEnrollmentServer [- Server ] <string> [[- SiteId ] <uint> ] [- Description <string> ] [- Enabled <bool> ] [- NewServer <string> ] [- PreferredBrokerId <uint> ] [ < CommonParameters > ]

DESCRIPTION

Modifies properties of an Enrollment server.

PARAMETERS


- Server <string>
The name of the target enrollment server.

This must be the actual enrollment server name used in the RAS farm.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

- SiteId <uint>
Site ID in which to modify the specified enrollment server.

If the parameter is omitted, the site ID of the licensing server will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

- Id <uint>
The ID of the Enrollment server to modify.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

- InputObject < EnrollmentServer >
The enrollment server to modify.

To obtain an object of type enrollment server representing a enrollment server, use the Get-RASEnrollmentServer server cmdlet.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false

- NewServer <string>
The new server of the target enrollment server.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

- Description <string>
The enrollment server description.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

- Enabled <bool>
Enable or disable the specified enrollment server in a site.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

- PreferredBrokerId <uint>
ID of the preferred Connection Broker.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

< CommonParameters >
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters documentation. 

INPUTS

EnrollmentServer

OUTPUTS

-none-

EXAMPLES


---------- EXAMPLE 1 ----------

Set-RASEnrollmentServer -Id 10 -Server "MyServer"

Sets information about the Enrollment server specified by its ID

RELATED LINKS