Set-RASEnrollmentServer
Modifies an Enrollment server.
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>]
Modifies properties of an Enrollment server.
-Server <string> The name of the target enrollment server.
This must be the actual enrollment server name used in the RAS farm.
-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.
-Id <uint> The ID of the Enrollment server to modify.
-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.
-NewServer <string> The new server of the target enrollment server.
-Description <string> The enrollment server description.
-Enabled <bool> Enable or disable the specified enrollment server in a site.
-PreferredBrokerId <uint> ID of the preferred Connection Broker.
<CommonParameters>
-none-
---------- EXAMPLE 1 ----------
Set-RASEnrollmentServer -Id 10 -Server "MyServer"
Sets information about the Enrollment server specified by its ID.