編輯

共用方式為


Set-NpsRadiusClient

Specifies configuration settings for a RADIUS client.

Syntax

Set-NpsRadiusClient
   [-Name] <String>
   [-Address <String>]
   [-AuthAttributeRequired <Boolean>]
   [-SharedSecret <String>]
   [-VendorName <String>]
   [-Enabled <Boolean>]
   [<CommonParameters>]

Description

The Set-NpsRadiusClient cmdlet specifies configuration settings for a Remote Authentication Dial-In User Service (RADIUS) client. A RADIUS client uses a RADIUS server to manage authentication, authorization, and accounting requests that the client sends. A RADIUS client can be an access server, such as a dial-up server or wireless access point, or a RADIUS proxy.

For more information about RADIUS client options, see Managing RADIUS Clients on TechNet.

Examples

Example 1: Set a RADIUS client settings

PS C:\>Set-NpsRadiusClient -Name "WirelessAP" -Address "10.0.0.201" -Enabled $False -SharedSecret "1234567890"

This command changes settings for the RADIUS client named WirelessAP. It sets the IP address to 10.0.0.201 and the shared secret to 1234567890.

Parameters

-Address

Specifies the fully qualified domain name (FQDN) or IP address of a RADIUS client.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AuthAttributeRequired

Indicates whether verification for Access-Request messages is enabled. The default value for this parameter is $False, which indicates that verification is disabled.

Set this parameter to $True if your access server supports use of the Message Authenticator attribute, also known as the signature attribute, for additional security.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Enabled

Indicates whether the RADIUS client is enabled.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name of the RADIUS client to update.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-SharedSecret

Specifies a shared secret key that is configured at the RADIUS client. Windows Server® 2012 uses the shared secret key to validate messages between the RADIUS client and NPS.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VendorName

Specifies the vendor name for the RADIUS client. The default name is RADIUS standard.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

NpsRadiusClient