Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
DSC
archive
nestedtemplates
New-AzureDeploy.ps1
README.md
parameters.json
template.json

README.md

Test Environment for a domain controller and two members

Deployment script works only on Windows. Todo: create azure-cli variant.

How to use

Run it like this:

import-module cChoco -Force
import-module xActiveDirectory -Force
import-module xNetworking -Force
Import-Module xPendingReboot -Force
Import-Module xStorage -Force

$vars = @{
    ClientId = "25892f7e-xxx"
    Secret = "NzA0u+xxxxxxxxx"
    TenantId = "63060cb1xxxxx"
    SubscriptionId = "3459c2bfxxx"
    ResourceGroupName = "scom-poc"
    ArtifactsResourceGroup = 'msdn-mct-deployments' 
    ArtifactsLocationStorageAccount = 'msdnmctartifacts'
}

# modify path if needed
.\New-AzureDeploy.ps1 @vars -Verbose

Script is also easy to use in a CD/CI pipeline.

Troubleshoot

Login-AzureRmAccount
(Get-AzureRmLog -Status "Failed" | Select-Object -First 1) | Format-List