Last active
April 25, 2020 08:18
-
-
Save lankaapura/1206b670c48927c7e731ab6c5b832cdc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[cmdletbinding()] | |
param( | |
[string]$Channel="LTS", | |
[string]$Version="Latest", | |
[string]$JSonFile, | |
[string]$InstallDir="<auto>", | |
[string]$Architecture="<auto>", | |
[ValidateSet("dotnet", "aspnetcore", "windowsdesktop", IgnoreCase = $false)] | |
[string]$Runtime, | |
[Obsolete("This parameter may be removed in a future version of this script. The recommended alternative is '-Runtime dotnet'.")] | |
[switch]$SharedRuntime, | |
[switch]$DryRun, | |
[switch]$NoPath, | |
[string]$AzureFeed="https://dotnetcli.azureedge.net/dotnet", | |
[string]$UncachedFeed="https://dotnetcli.blob.core.windows.net/dotnet", | |
[string]$FeedCredential, | |
[string]$ProxyAddress, | |
[switch]$ProxyUseDefaultCredentials, | |
[switch]$SkipNonVersionedFiles, | |
[switch]$NoCdn | |
) | |
Write-Host "Channel: $Channel" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment