Get-NpsSharedSecretTemplate

Get-NpsSharedSecretTemplate

Returns a list of available shared secret templates.

구문

Parameter Set: Default
Get-NpsSharedSecretTemplate [-Name <String> ] [ <CommonParameters>]

자세한 설명

The Get-NpsSharedSecretTemplate cmdlet returns a list of available shared secret templates. Network Policy Server (NPS) includes a template type that you can use to assign a shared secret when you configure a Remote Authentication Dial-In User Service (RADIUS) client or server.

A shared secret is a text string that serves as a password between a RADIUS client and a RADIUS server, a RADIUS client and a RADIUS proxy, or a RADIUS proxy and a RADIUS server. RADIUS clients, servers, and proxies use shared secrets to verify that the RADIUS messages they receive originate with a RADIUS-enabled device that is configured with the same shared secret.

매개 변수

-Name<String>

Specifies the name of the shared secret template to return. If you do not specify this parameter, the cmdlet returns all shared secret templates.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true (ByValue)

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)

입력

입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.

출력

출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.

  • NpsSharedSecretTemplate[]

Example 1: Get shared secrets templates from a Network Policy Server

This command gets the shared secrets templates from an NPS.

PS C:\> Get-NPSSharedSecretTemplate