Created
July 3, 2020 06:37
-
-
Save viktors-telle/df0fbc6da45a40769a5925c6c6e410d3 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
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