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
{ | |
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"newLabName": { | |
"type": "string", | |
"defaultValue": "MyDevTestLab", | |
"metadata": { | |
"description": "The name of the new lab instance to be created" | |
} |
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
Function Get-RedirectedUrl | |
{ | |
Param ( | |
[Parameter(Mandatory=$true)] | |
[String]$URL | |
) | |
$urlRegex = '<a href="(?<Url>[^"]+)"' | |
$content = (New-Object System.Net.WebClient).DownloadString($url ) |
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
{ | |
"$schema": "https://raw.githubusercontent.com/Azure/azure-devtestlab/master/schemas/2016-11-28/dtlArtifacts.json", | |
"title": "Adobe Flex SDK", | |
"description": "Installs Adobe Flex SDK, EULA: http://www.adobe.com/products/eulas/#flex_sdk", | |
"tags": [ | |
"Windows", | |
"Adobe", | |
"Flex" | |
], | |
"iconUri": "https://github.com/Azure/azure-devtestlab/raw/master/Artifacts/windows-vscode/flex%20icon.png", |
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
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force | |
Install-Package -Name docker -ProviderName DockerMsftProvider -Force |
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
{ | |
"$schema": "https://raw.githubusercontent.com/Azure/azure-devtestlab/master/schemas/2016-11-28/dtlArtifacts.json", | |
"title": "Docker", | |
"description": "Installs Docker on Windows Server. Requires Windows Server 2016.", | |
"publisher": "Marcus Robinson", | |
"tags": [ | |
"Windows", | |
"Docker" | |
], | |
"iconUri": "https://raw.githubusercontent.com/Azure/azure-devtestlab/master/Artifacts/windows-docker/docker-logo.png", |
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
Param | |
( | |
[string]$ServerHostName, | |
[int]$ServerPort = 5432, | |
[string]$User, | |
[string]$Password, | |
[string]$DBName, | |
[string]$SQLFilePath = "", | |
[string]$SQLCmd = "" |
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
Param | |
( | |
[string]$ServerHostName, | |
[string]$User, | |
[string]$Password, | |
[string]$DBName, | |
[string]$GeoServerDataDir | |
) |
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
{ | |
"type": "extensions", | |
"name": "DockerExtension", | |
"tags": { | |
"displayName": "DockerExtension" | |
}, | |
"apiVersion": "2016-03-30", | |
"location": "[resourceGroup().location]", | |
"dependsOn": [ | |
"[resourceId('Microsoft.Compute/virtualMachines/', variables('vmName'))]", |
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
FROM winsent/geoserver:2.10 | |
COPY ./web.xml /opt/geoserver/webapps/geoserver/WEB-INF/web.xml |
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
{ | |
"name": "CustomScript", | |
"type": "extensions", | |
"location": "[resourceGroup().location]", | |
"apiVersion": "2016-03-30", | |
"dependsOn": [ | |
"[resourceId('Microsoft.Compute/virtualMachines', variables('vmName'))]" | |
], | |
"tags": { | |
"displayName": "CustomScript" |