Freigeben über


New-NpsRadiusClient

New-NpsRadiusClient

Creates a RADIUS client.

Syntax

Parameter Set: Default
New-NpsRadiusClient [-Name] <String> [-Address] <String> [-AuthAttributeRequired <Boolean> ] [-Disabled] [-NapCompatible <Boolean> ] [-SharedSecret <String> ] [-VendorName <String> ] [ <CommonParameters>]

Detailed 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.

Parameters

-Address<String>

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

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-AuthAttributeRequired<Boolean>

Indicates whether the server has enabled verification for Access-Request messages. The default is disabled.

Aliases

none

Required?

false

Position?

named

Default Value

False

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Disabled

Indicates that the RADIUS client is disabled.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Specifies a string that contains the name of the RADIUS client. This name must be unique.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-NapCompatible<Boolean>

Indicates whether the RADIUS client is compatible with Network Access Protection (NAP). The default is $False, which means that the RADIUS client is not compatible with NAP.

Aliases

none

Required?

false

Position?

named

Default Value

False

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SharedSecret<String>

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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-VendorName<String>

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

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • NpsRadiusClient

Examples

Example 1: Add a new RADIUS client

This command adds an NAP-compatible 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.

PS C:\> New-NpsRadiusClient –Address "10.0.0.200" –Name "WirelessAP" –NapCompatible $True –SharedSecret "9vq7822hFsJ8rm"

Get-NpsRadiusClient

Remove-NpsRadiusClient

Set-NpsRadiusClient