From 2535bfb1f821d8b54eb3314e6d5bc011c5f97fa3 Mon Sep 17 00:00:00 2001 From: Rod Stewart Date: Sun, 25 Jun 2017 01:26:47 -0500 Subject: [PATCH 1/2] Updates Get-TlsEccCurve.md - basic overview Updates Get-TlsEccCurve.md to add a basic overview and start of documentation. --- docset/windows/tls/get-tlsecccurve.md | 33 +++++++++++++++++++++------ 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/docset/windows/tls/get-tlsecccurve.md b/docset/windows/tls/get-tlsecccurve.md index 66992dae38..c0f41ec437 100644 --- a/docset/windows/tls/get-tlsecccurve.md +++ b/docset/windows/tls/get-tlsecccurve.md @@ -27,26 +27,38 @@ Get-TlsEccCurve [[-Name] ] ``` ## DESCRIPTION -{{Fill in the Description}} +Gets the list of Elliptic Curve Cryptography (ECC) cipher suites for TLS for a computer. ## EXAMPLES -### Example 1 +### Example 1: Get all ECC curves ``` -PS C:\> {{ Add example code here }} +PS C:\> Get-TlsEccCurve +curve25519 +NistP256 +NistP384 ``` -{{ Add example description here }} +This command gets all ECC curves for the computer. + +### Example 2: Get the ECC curves that match a string +``` +PS C:\> Get-TlsEccCurve -Name 'Nist' +NistP256 +NistP384 +``` + +This command gets all the ECC curves that have names that contain the string 'Nist' (case-sensitive). ## PARAMETERS ### -Name -{{Fill Name Description}} +Specifies the name of the ECC curve to get. The cmdlet gets ECC curves that match the string that this cmdlet specifies, so you can specify a partial name. This parameter is case-sensitive. ```yaml Type: String Parameter Sets: (All) -Aliases: +Aliases: None Required: False Position: 0 @@ -55,6 +67,9 @@ Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216). + ## INPUTS ### System.String @@ -67,4 +82,8 @@ Accept wildcard characters: False ## NOTES ## RELATED LINKS - +``` +Online Version: https://technet.microsoft.com/en-us/itpro/powershell/windows/tls/get-tlsecccurve +Enable-TlsEccCurve +Disable-TlsEccCurve +``` From a5ea7e5a1a56b5d9bf3b3093a072cd369a01f165 Mon Sep 17 00:00:00 2001 From: Rod Stewart Date: Tue, 27 Jun 2017 13:01:13 -0500 Subject: [PATCH 2/2] Adds Synopsis, updates to match powershell-docs style guide --- docset/windows/tls/get-tlsecccurve.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/docset/windows/tls/get-tlsecccurve.md b/docset/windows/tls/get-tlsecccurve.md index c0f41ec437..e5d99857de 100644 --- a/docset/windows/tls/get-tlsecccurve.md +++ b/docset/windows/tls/get-tlsecccurve.md @@ -18,7 +18,7 @@ title: Get-TlsEccCurve # Get-TlsEccCurve ## SYNOPSIS -{{Fill in the Synopsis}} +Gets the list of Elliptic Curve Cryptography (ECC) cipher suites available for TLS for a computer. ## SYNTAX @@ -27,13 +27,18 @@ Get-TlsEccCurve [[-Name] ] ``` ## DESCRIPTION -Gets the list of Elliptic Curve Cryptography (ECC) cipher suites for TLS for a computer. +Gets the list of Elliptic Curve Cryptography (ECC) cipher suites available for TLS for a computer. ## EXAMPLES ### Example 1: Get all ECC curves +```powershell +Get-TlsEccCurve +``` + +This generates the following output: + ``` -PS C:\> Get-TlsEccCurve curve25519 NistP256 NistP384 @@ -42,8 +47,13 @@ NistP384 This command gets all ECC curves for the computer. ### Example 2: Get the ECC curves that match a string +```powershell +Get-TlsEccCurve -Name 'Nist' +``` + +This generates the following output: + ``` -PS C:\> Get-TlsEccCurve -Name 'Nist' NistP256 NistP384 ```