PowerShell Logo Small

Export-TlsSessionTicketKey



This is the built-in help made by Microsoft for the command 'Export-TlsSessionTicketKey', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Exports a TLS session ticket key.

SYNTAX


Export-TlsSessionTicketKey [-Password] <SecureString> [[-Path] [<String>]] [-ServiceAccountName] <NTAccount> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Export-TlsSessionTicketKey cmdlet exports the administrator managed Transport Layer Security (TLS) session ticket key for a service account.


TLS creates a session ticket by using the TLS Session Resumption without Server-Side State mechanism. For more information, see New-TlsSessionTicketKey or type Get-He
lp New-TlsSessionTicketKey.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294409
Enable-TlsSessionTicketKey
New-TlsSessionTicketKey
Disable-TlsSessionTicketKey

REMARKS

<

Examples


Example 1: Export a TLS session ticket key

PS C:\>$Password = Read-Host -AsSecureString
PS C:\> Export-TlsSessionTicketKey -Password $Password -Path "C:\KeyConfig\TlsSessionTicketKey.config" -ServiceAccountName "NetworkService"



The first command prompts the user to enter a password by using the Read-Host cmdlet. The command masks the password that the user types at the prompt. For more infor
mation, type Get-Help Read-Host. The command stores the password in the $Password variable.

The second command exports the session ticket key for the service account named NetworkService from the configuration file on the TLS server. The command specifies th
e path for the configuration file on the TLS server, and specifies that the TLS session use the password stored in $Password to access the configuration file.