Revert "Another mop up commit to add missing changes from the last mop-up."

This reverts commit 1dcd276b1e.
This commit is contained in:
Shady Ibraheem
2019-12-18 17:37:59 -05:00
parent 66ab18a8ba
commit 54f8ffa773
188 changed files with 7393 additions and 7333 deletions

View File

@@ -1,46 +1,46 @@
################################################################################
## File: Validate-DotnetSDK.ps1
## Desc: Validate dotnet
################################################################################
if(Get-Command -Name 'dotnet')
{
Write-Host "dotnet $(dotnet --version) on path"
}
else
{
Write-Host "dotnet is not on path"
exit 1
}
# Adding description of the software to Markdown
$SoftwareName = ".NET Core"
$Description = @"
The following runtimes and SDKs are installed:
_Environment:_
* PATH: contains location of dotnet.exe
_SDK:_
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
$SdkList =(Get-ChildItem "C:\Program Files\dotnet\sdk") | Where { $_.Name -match "[0-9].*" } | Sort-Object -Descending | % { "* $($_.Name) $($_.FullName)" }
Add-ContentToMarkdown -Content $SdkList
$Runtimes = @"
_Runtime:_
"@
Add-ContentToMarkdown -Content $Runtimes
$RuntimeList =(Get-ChildItem "C:\Program Files\dotnet\shared\Microsoft.NETCore.App") | Where { $_.Name -match "[0-9].*" } | Sort-Object -Descending | % { "* $($_.Name) $($_.FullName)" }
Add-ContentToMarkdown -Content $RuntimeList
################################################################################
## File: Validate-DotnetSDK.ps1
## Desc: Validate dotnet
################################################################################
if(Get-Command -Name 'dotnet')
{
Write-Host "dotnet $(dotnet --version) on path"
}
else
{
Write-Host "dotnet is not on path"
exit 1
}
# Adding description of the software to Markdown
$SoftwareName = ".NET Core"
$Description = @"
The following runtimes and SDKs are installed:
_Environment:_
* PATH: contains location of dotnet.exe
_SDK:_
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
$SdkList =(Get-ChildItem "C:\Program Files\dotnet\sdk") | Where { $_.Name -match "[0-9].*" } | Sort-Object -Descending | % { "* $($_.Name) $($_.FullName)" }
Add-ContentToMarkdown -Content $SdkList
$Runtimes = @"
_Runtime:_
"@
Add-ContentToMarkdown -Content $Runtimes
$RuntimeList =(Get-ChildItem "C:\Program Files\dotnet\shared\Microsoft.NETCore.App") | Where { $_.Name -match "[0-9].*" } | Sort-Object -Descending | % { "* $($_.Name) $($_.FullName)" }
Add-ContentToMarkdown -Content $RuntimeList