Cleanup old markdown documenation approach (#979)

This commit is contained in:
Aleksandr Chebotov
2020-06-02 20:07:12 +03:00
committed by GitHub
parent 8c8f384a61
commit 43e26fa96b
72 changed files with 133 additions and 1541 deletions

View File

@@ -5,24 +5,14 @@
$protocols = [Net.ServicePointManager]::SecurityProtocol
$protocolArr = $protocols -split ', '
if($protocolArr.Contains('Tls12'))
if ($protocolArr.Contains('Tls12'))
{
Write-Host "Tls 1.2 has been enabled."
Write-Host 'Tls 1.2 has been enabled.'
}
else
{
Write-Host "Tls 1.2 has not been enabled."
Write-Host 'Tls 1.2 has not been enabled.'
exit 1
}
# Adding description of the software to Markdown
$SoftwareName = "TLS12"
$version = "1.2";
$Description = @"
_Version:_ $version<br/>
_Description:_ .NET has been configured to use TLS 1.2 by default
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description