{"id":117,"date":"2016-05-16T00:09:03","date_gmt":"2016-05-16T00:09:03","guid":{"rendered":"http:\/\/cirwordpress.azurewebsites.net\/?p=117"},"modified":"2016-05-16T00:11:38","modified_gmt":"2016-05-16T00:11:38","slug":"configure-prerequisites-for-a-vm-with-azure-resource-manager","status":"publish","type":"post","link":"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/","title":{"rendered":"Configure Prerequisites for a VM with Azure Resource Manager"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">This is the first part of a two part video on configuring the prerequisite and deploying a virtual machine in Microsoft Azure Resource Manager. \u00a0The video gives an introduction to Azure Resource Manager and Resource Groups as well as Virtual Networks and Storage Accounts. \u00a0This video is intended for people new to Azure or Azure RM. \u00a0The script used in this video can be found below.<\/span><\/p>\n<p><a href=\"http:\/\/www.ciraltos.com\/?p=114\">Click here for part two<\/a>.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/rm73YKKFhu4\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p><!--more--><\/p>\n<p><span style=\"font-weight: 400;\">Copy the code and paste the code below into Microsoft PowerShell ISE.<br \/>\n<\/span><\/p>\n<pre>#List Variables\r\n# Ls variable:*\r\n#Remove Variables\r\n# Remove-Variable * -ErrorAction SilentlyContinue\r\n\r\n#Get locations (locations will be different depending on subscription)\r\nGet-AzureLocation | FL DisplayNam,Name,StorageAccountTypes\r\n\r\n#Set Variables (storageName needs to be LC and numbers)\r\n$location = \"Central US\"\r\n$rgName = \"Resource Group Name\"\r\n$netName = \"vNet Name\"\r\n$storageType = \"Standard_LRS\"\r\n$storageName = \"Storage Account Name\"\r\n\r\n#Create the Resource Group\r\nNew-AzureRmResourceGroup -Location $location -name $rgName\r\n\r\n#Create the Subnet and Network\r\n$svrSubnet = New-AzureRmVirtualNetworkSubnetConfig -Name 'ServerSubnet' -AddressPrefix '192.168.200.0\/24'\r\nNew-AzureRmVirtualNetwork -name $netName -Location $location -AddressPrefix 192.168.200.0\/24 -Subnet $svrSubnet -ResourceGroupName $rgName\r\n\r\n#Create new storage account\r\nNew-AzureRmStorageAccount -ResourceGroupName $rgName -Name $storageName -Type $storageType -location $location\r\n<\/pre>\n<p><span style=\"font-weight: 400;\">This information is as-is with no warranty, expressed or implied. \u00a0Test\u00a0it before you trust it!<br \/>\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is the first part of a two part video on configuring the prerequisite and deploying a virtual machine in Microsoft Azure Resource Manager. \u00a0The video gives an introduction to Azure Resource Manager and Resource Groups as well as Virtual Networks and Storage Accounts. \u00a0This video is intended for people new to Azure or Azure &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/\"> <span class=\"screen-reader-text\">Configure Prerequisites for a VM with Azure Resource Manager<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[2],"tags":[88,9,97,12,91,77,81,78,84,83,85,80,79,92,95,94,93,90,82,96,98,86,89,87,99,27],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configure Prerequisites for a VM with Azure Resource Manager - ciraltos<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configure Prerequisites for a VM with Azure Resource Manager - ciraltos\" \/>\n<meta property=\"og:description\" content=\"This is the first part of a two part video on configuring the prerequisite and deploying a virtual machine in Microsoft Azure Resource Manager. \u00a0The video gives an introduction to Azure Resource Manager and Resource Groups as well as Virtual Networks and Storage Accounts. \u00a0This video is intended for people new to Azure or Azure &hellip; Configure Prerequisites for a VM with Azure Resource Manager Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"ciraltos\" \/>\n<meta property=\"article:published_time\" content=\"2016-05-16T00:09:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-05-16T00:11:38+00:00\" \/>\n<meta name=\"author\" content=\"Travis Roberts\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ciraltos\" \/>\n<meta name=\"twitter:site\" content=\"@ciraltos\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Travis Roberts\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/\"},\"author\":{\"name\":\"Travis Roberts\",\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\"},\"headline\":\"Configure Prerequisites for a VM with Azure Resource Manager\",\"datePublished\":\"2016-05-16T00:09:03+00:00\",\"dateModified\":\"2016-05-16T00:11:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/\"},\"wordCount\":108,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\"},\"keywords\":[\"Add-AzureRmVMNetworkInterface\",\"Azure\",\"azure rm\",\"cloud\",\"Get-AzureLocation\",\"Get-AzureRmResourceGroup\",\"Get-AzureRmStorageAccount\",\"Get-AzureRmVirtualNetwork\",\"Get-AzureRmVMImageOffer\",\"Get-AzureRmVMImagePublisher\",\"Get-AzureRmVMImageSku\",\"New-AzureRmNetworkInterface\",\"New-AzureRmPublicIpAddress\",\"New-AzureRmResourceGroup\",\"New-AzureRmStorageAccount\",\"New-AzureRmVirtualNetwork\",\"New-AzureRmVirtualNetworkSubnetConfi\",\"New-AzureRmVM\",\"New-AzureRmVMConfig\",\"resource manager\",\"resource mode\",\"Set-AzureRmVMOperatingSystem\",\"Set-AzureRmVMOSDisk\",\"Set-AzureRmVMSourceImage\",\"technology\",\"virtual machine\"],\"articleSection\":[\"Azure\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/\",\"url\":\"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/\",\"name\":\"Configure Prerequisites for a VM with Azure Resource Manager - ciraltos\",\"isPartOf\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#website\"},\"datePublished\":\"2016-05-16T00:09:03+00:00\",\"dateModified\":\"2016-05-16T00:11:38+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/www.ciraltos.com\/staging2\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configure Prerequisites for a VM with Azure Resource Manager\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#website\",\"url\":\"http:\/\/www.ciraltos.com\/staging2\/\",\"name\":\"ciraltos\",\"description\":\"cloud, technology and trends\",\"publisher\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.ciraltos.com\/staging2\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\",\"name\":\"Travis Roberts\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png\",\"contentUrl\":\"http:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png\",\"width\":5657,\"height\":3563,\"caption\":\"Travis Roberts\"},\"logo\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.ciraltos.com\",\"https:\/\/twitter.com\/ciraltos\"],\"url\":\"http:\/\/www.ciraltos.com\/staging2\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configure Prerequisites for a VM with Azure Resource Manager - ciraltos","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/","og_locale":"en_US","og_type":"article","og_title":"Configure Prerequisites for a VM with Azure Resource Manager - ciraltos","og_description":"This is the first part of a two part video on configuring the prerequisite and deploying a virtual machine in Microsoft Azure Resource Manager. \u00a0The video gives an introduction to Azure Resource Manager and Resource Groups as well as Virtual Networks and Storage Accounts. \u00a0This video is intended for people new to Azure or Azure &hellip; Configure Prerequisites for a VM with Azure Resource Manager Read More &raquo;","og_url":"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/","og_site_name":"ciraltos","article_published_time":"2016-05-16T00:09:03+00:00","article_modified_time":"2016-05-16T00:11:38+00:00","author":"Travis Roberts","twitter_card":"summary_large_image","twitter_creator":"@ciraltos","twitter_site":"@ciraltos","twitter_misc":{"Written by":"Travis Roberts","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/#article","isPartOf":{"@id":"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/"},"author":{"name":"Travis Roberts","@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a"},"headline":"Configure Prerequisites for a VM with Azure Resource Manager","datePublished":"2016-05-16T00:09:03+00:00","dateModified":"2016-05-16T00:11:38+00:00","mainEntityOfPage":{"@id":"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/"},"wordCount":108,"commentCount":0,"publisher":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a"},"keywords":["Add-AzureRmVMNetworkInterface","Azure","azure rm","cloud","Get-AzureLocation","Get-AzureRmResourceGroup","Get-AzureRmStorageAccount","Get-AzureRmVirtualNetwork","Get-AzureRmVMImageOffer","Get-AzureRmVMImagePublisher","Get-AzureRmVMImageSku","New-AzureRmNetworkInterface","New-AzureRmPublicIpAddress","New-AzureRmResourceGroup","New-AzureRmStorageAccount","New-AzureRmVirtualNetwork","New-AzureRmVirtualNetworkSubnetConfi","New-AzureRmVM","New-AzureRmVMConfig","resource manager","resource mode","Set-AzureRmVMOperatingSystem","Set-AzureRmVMOSDisk","Set-AzureRmVMSourceImage","technology","virtual machine"],"articleSection":["Azure"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/","url":"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/","name":"Configure Prerequisites for a VM with Azure Resource Manager - ciraltos","isPartOf":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#website"},"datePublished":"2016-05-16T00:09:03+00:00","dateModified":"2016-05-16T00:11:38+00:00","breadcrumb":{"@id":"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.ciraltos.com\/staging2\/configure-prerequisites-for-a-vm-with-azure-resource-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.ciraltos.com\/staging2\/"},{"@type":"ListItem","position":2,"name":"Configure Prerequisites for a VM with Azure Resource Manager"}]},{"@type":"WebSite","@id":"http:\/\/www.ciraltos.com\/staging2\/#website","url":"http:\/\/www.ciraltos.com\/staging2\/","name":"ciraltos","description":"cloud, technology and trends","publisher":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.ciraltos.com\/staging2\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a","name":"Travis Roberts","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/","url":"http:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png","contentUrl":"http:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png","width":5657,"height":3563,"caption":"Travis Roberts"},"logo":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.ciraltos.com","https:\/\/twitter.com\/ciraltos"],"url":"http:\/\/www.ciraltos.com\/staging2\/author\/admin\/"}]}},"_links":{"self":[{"href":"http:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts\/117"}],"collection":[{"href":"http:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/comments?post=117"}],"version-history":[{"count":2,"href":"http:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts\/117\/revisions"}],"predecessor-version":[{"id":131,"href":"http:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts\/117\/revisions\/131"}],"wp:attachment":[{"href":"http:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/media?parent=117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/categories?post=117"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/tags?post=117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}