-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStep 1.ps1
More file actions
49 lines (29 loc) · 1.18 KB
/
Step 1.ps1
File metadata and controls
49 lines (29 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Import-Module "C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ServiceManagement\Azure\Azure.psd1"
$ErrorActionPreference = "Stop"
$DebugPreference = "SilentlyContinue"
$workingDir = (Split-Path -parent $MyInvocation.MyCommand.Definition) + "\"
. $workingDir"Common\Common.ps1"
. Common
. $workingDir"Common\RunRemotely.ps1"
. $workingDir"Common\CreateVm.ps1"
. $workingDir"Common\RdpManageCert.ps1"
Write-Status "Adding Virtual Network..."
. $workingDir"Add-VirtualNetworkSite.ps1"
Add-VirtualNetworkSite $virtualNetworkName $location $addressSpaceAddressPrefix $frontEndSubnetAddressPrefix $backEndSubnetAddressPrefix
# CreateServices0 creates the cloud service, so it must come first
Write-Status "Creating Services 0..."
. $workingDir"Services\CreateServices.ps1"
CreateServices0
Write-Status "Creating Services 1..."
CreateServices1
. $workingDir"Web\CreateWeb.ps1"
CreateWeb
Write-Status "Setting Web Endpoints..."
. $workingDir"Web\SetWebEndpoints.ps1"
. $workingDir"Memcached\CreateMemcached.ps1"
CreateMemcached
. $workingDir"Common\SetSshEndpoints.ps1"
Write-Status "Creating Debugging..."
. $workingDir"Debugging\CreateDebugging.ps1"
CreateDebugging
Write-Status "Done!"