Skip to content

Instantly share code, notes, and snippets.

@lankaapura
Last active April 25, 2020 08:18
Show Gist options
  • Save lankaapura/1206b670c48927c7e731ab6c5b832cdc to your computer and use it in GitHub Desktop.
Save lankaapura/1206b670c48927c7e731ab6c5b832cdc to your computer and use it in GitHub Desktop.
[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