Mundy

IT Knowledge Base

User Tools

Site Tools


Sidebar

Contact me at dan@mundy.co for any feedback or suggestions.


My other sites:

Search all my sites:

setting_up_my_azure_test_environment

Setting up my Azure test environment

Prep

  1. Download the Azure PowerShell cmdlets, available through the Web Platform Installer
  2. Set up a connection to Azure
    1. In Powershell: Get-AzurePublishSettingsFile
    2. Import-AzurePublishSettingsFile -PublishSettingsFile C:\Mundy\My-Azure-Creds.publishsettings
  3. Created Lab1

Create DC1

  1. Created dc1 in Azure
  2. Set it to static IP address:
    Login-AzureRMAccount
    Get-AzureSubscription
    Select-AzureRmSubscription "Visual Studio Enterprise – MPN"
    PS Microsoft.PowerShell.Core\FileSystem::\\Mac\Home\Desktop> Get-AzureRmNetworkInterface | ft name,resourcegroupname
     
    Name ResourceGroupName
    ---- -----------------
    dc1  lab13931032565000
    dc1  MundyTestLab1-dc1-036329
     
     
    PS> $nic=Get-AzureRmNetworkInterface -Name dc1 -ResourceGroupName lab13931032565000
    PS> $nic.IpConfigurations[0].PrivateIpAllocationMethod = "Static"
    PS> $nic.IpConfigurations[0].PrivateIpAddress = "10.0.0.4"
    PS> Set-AzureRmNetworkInterface -NetworkInterface $nic
  3. Logged in to dc1 via RDP
  4. sconfig
    1. Set the timezone
  5. Set up the domain
    Install-WindowsFeature AD-Domain-Services -IncludeManagementTools
    Install-ADDSForest -DomainName ad.mundy.co
setting_up_my_azure_test_environment.txt · Last modified: 2018/04/09 09:56 (external edit)