New-RASEnrollmentServer
SYNOPSIS
Creates a new Enrollment server.
SYNTAX
New-RASEnrollmentServer [-Server] <string> [[-SiteId] <uint>] [-Description <string>]
[-Enabled <bool>] [-NoFireWallRules <SwitchParameter>] [-NoInstall <SwitchParameter>]
[<CommonParameters>]New-RASEnrollmentServer [-Server] <string> [[-SiteId] <uint>] -Password <SecureString>
-Username <string> [-Description <string>] [-Enabled <bool>] [-NoFireWallRules <SwitchParameter>]
[<CommonParameters>]DESCRIPTION
To create an Enrollment server from a specific site, specify the -SiteId parameter.
EXAMPLES
Example 1
New-RASEnrollmentServer -Id 2 -Server "MyServer"Creates a new Enrollment server with the specified name.
PARAMETERS
-Server
The name of the target enrollment server.
This must be the actual enrollment server name used in the RAS farm.
-SiteId
Site ID in which to create the specified enrollment server.
If the parameter is omitted, the site ID of the Licensing Server will be used.
-Enabled
Enable or disable the enrollment server upon creation.
If the parameter is omitted, the enrollment server is initialised as disabled.
-Description
The enrollment server description.
-Username
An administrator account for remote installing the enrollment agent on the server.
If this parameter is omitted, the user's RAS admin username and password will be used.
-Password
Password of the account specified in the username parameter.
-NoInstall
Specifies not to install enrollment agent on the server.
If this parameter is omitted, the enrollment server will be push installed on the server using the user's RAS admin credentials.
To specify different credentials, include the username and password parameters.
-NoFireWallRules
If this parameter is omitted, the firewall rules will be added.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
EnrollmentServer
RELATED LINKS
Last updated