New-NpsRadiusClient
Creates a RADIUS client.
Syntax
New-NpsRadiusClient
[-Name] <String>
[-Address] <String>
[-AuthAttributeRequired <Boolean>]
[-SharedSecret <String>]
[-VendorName <String>]
[-Disabled]
[<CommonParameters>]
Description
The New-NpsRadiusClient cmdlet creates 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.
Note
The NPS Server service must be restarted after you run the New-NpsRadiusClient cmdlet.
Examples
Example 1: Add a new RADIUS client
PS C:\>New-NpsRadiusClient -Address "10.0.0.200" -Name "WirelessAP" -SharedSecret "9vq7822hFsJ8rm"
This command adds a wireless access point as a RADIUS client to the NPS configuration. This RADIUS client has the IP address 10.0.0.200, the name WirelessAP, an enabled state, and a shared secret of 9vq7822hFsJ8rm.
Parameters
-Address
Specifies a fully qualified domain name (FQDN) or IP address of the RADIUS client.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-AuthAttributeRequired
Indicates whether the server has enabled verification for Access-Request messages. The default value is $False, which means disabled.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Disabled
Indicates whether the RADIUS client is disabled.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Specifies a name for the RADIUS client. This name must be unique.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
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: | True |
Accept wildcard characters: | False |
-VendorName
Specifies the RADIUS client vendor name. The default is RADIUS standard.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Outputs
NpsRadiusClient