AzureStack-QuickStart-Templ.../201-vm-windows-comprehensive
Heath Lawson fa692f4c4e Updating to Development Kit references (#268)
* Updating to Development Kit reference

* Scrubbing TP references
2017-07-31 11:36:49 -07:00
..
README.md Updating to Development Kit references (#268) 2017-07-31 11:36:49 -07:00
ValidateWindowsFeature.ps1 Changing name of templates to match the pattern 101/201/301-PrimaryResourceName-Linux/Windows-WhatTheTemplateDoes (#225) 2017-05-09 11:05:08 -07:00
azuredeploy.json Revert "Vhd16 ctq (#233)" (#235) 2017-06-05 11:13:28 -07:00
azuredeploy.parameters.json Changing name of templates to match the pattern 101/201/301-PrimaryResourceName-Linux/Windows-WhatTheTemplateDoes (#225) 2017-05-09 11:05:08 -07:00
metadata.json Changing name of templates to match the pattern 101/201/301-PrimaryResourceName-Linux/Windows-WhatTheTemplateDoes (#225) 2017-05-09 11:05:08 -07:00
storageAccount.json Changing name of templates to match the pattern 101/201/301-PrimaryResourceName-Linux/Windows-WhatTheTemplateDoes (#225) 2017-05-09 11:05:08 -07:00
windowsFeature.zip Changing name of templates to match the pattern 101/201/301-PrimaryResourceName-Linux/Windows-WhatTheTemplateDoes (#225) 2017-05-09 11:05:08 -07:00

README.md

[IaaS VM Comprehensive Resources]

This template deploys a [solution name]. The [solution name] is a [description]

Tags: [Tag1, Tag2, Tag3]

Endpoint Version Validated
Microsoft Azure - no
Microsoft Azure Stack no

Prerequisites

[Decscription of the prerequistes for the deployment]

Deployment steps

You can either click the "deploy to Azure" button at the beginning of this document or deploy the solution from PowerShell with the following PowerShell script.

## Specify your AzureAD Tenant in a variable. 
# If you know the prefix of your <prefix>.onmicrosoft.com AzureAD account use option 1)
# If you do not know the prefix of your <prefix>.onmicrosoft.com AzureAD account use option 2)

# Option 1) If you know the prefix of your <prefix>.onmicrosoft.com AzureAD namespace.
# You need to set that in the $AadTenantId varibale (e.g. contoso.onmicrosoft.com).
    $AadTenantId = "contoso"

# Option 2) If you don't know the prefix of your AzureAD namespace, run the following cmdlets. 
# Validate with the Azure AD credentials you also use to sign in as a tenant to Microsoft Azure Stack Development Kit.
    $AadTenant = Login-AzureRmAccount
    $AadTenantId = $AadTenant.Context.Tenant.TenantId

## Configure the environment with the Add-AzureRmEnvironment cmdlt
    Add-AzureRmEnvironment -Name 'Azure Stack' `
        -ActiveDirectoryEndpoint ("https://login.windows.net/$AadTenantId/") `
        -ActiveDirectoryServiceEndpointResourceId "https://azurestack.local-api/"`
        -ResourceManagerEndpoint ("https://api.azurestack.local/") `
        -GalleryEndpoint ("https://gallery.azurestack.local/") `
        -GraphEndpoint "https://graph.windows.net/"

## Authenticate a user to the environment (you will be prompted during authentication)
    $privateEnv = Get-AzureRmEnvironment 'Azure Stack'
    $privateAzure = Add-AzureRmAccount -Environment $privateEnv -Verbose
    Select-AzureRmProfile -Profile $privateAzure

## Select an existing subscription where the deployment will take place
    Get-AzureRmSubscription -SubscriptionName "SUBSCRIPTION_NAME"  | Select-AzureRmSubscription

# Set Deployment Variables
$myNum = "001" #Modify this per deployment
$RGName = "myRG$myNum"
$myLocation = "local"
$myBlobStorageEndpoint = "blob.azurestack.local"

# Create Resource Group for Template Deployment
New-AzureRmResourceGroup -Name $RGName -Location $myLocation

# Deploy Template 
New-AzureRmResourceGroupDeployment `
    -Name "myDeployment$myNum" `
    -ResourceGroupName $RGName `
    -TemplateFile "c:\templates\azuredeploy-101-simple-windows-vm-withDNS.json" `
    -blobStorageEndpoint $myBlobStorageEndpoint `
    -newStorageAccountName "mystorage$myNum" `
    -dnsNameForPublicIP "mydns$myNum" `
    -adminUsername "admin" `
    -adminPassword ("User@123" | ConvertTo-SecureString -AsPlainText -Force) `
    -vmName "myVM$myNum" `
    -windowsOSVersion "2012-R2-Datacenter" 

Usage

Connect

[How to connect to the solution]

Management

[How to manage the solution]

Notes

[Solution notes]