Skip to content

Instantly share code, notes, and snippets.

@viktors-telle
Created July 3, 2020 06:37
Show Gist options
  • Save viktors-telle/df0fbc6da45a40769a5925c6c6e410d3 to your computer and use it in GitHub Desktop.
Save viktors-telle/df0fbc6da45a40769a5925c6c6e410d3 to your computer and use it in GitHub Desktop.
extension {
name = "InstallDotNet"
publisher = "Microsoft.Compute"
type = "CustomScriptExtension"
type_handler_version = "1.8"
auto_upgrade_minor_version = true
settings = <<EOF
{
"fileUris": [
"https://yourblobstorageaccount.blob.core.windows.net/dotnet48/InstallDotNet-48.ps1"
],
"commandToExecute": "powershell -ExecutionPolicy Unrestricted -File InstallDotNet-48.ps1"
}
EOF
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment