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 Remote Authentication Dial-In User Service (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.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- NpsSharedSecretTemplate[]
例
Example 1: Get shared secrets templates from a Network Policy Server
This command gets the shared secrets templates from an NPS and puts them in the variable named $NPSSharedSecrets01.
PS C:\> $NPSSharedSecrets01 = Get-NPSSharedSecretTemplate