{"id":300,"date":"2022-04-29T01:25:06","date_gmt":"2022-04-29T07:25:06","guid":{"rendered":"https:\/\/www.stormbreaker.tech\/?p=300"},"modified":"2022-04-29T02:05:26","modified_gmt":"2022-04-29T08:05:26","slug":"how-to-rename-the-os-disk-nic-virtual-machine-or-data-disk-on-an-azure-virtual-machine","status":"publish","type":"post","link":"https:\/\/www.stormbreaker.tech\/?p=300","title":{"rendered":"How To Rename The OS Disk (NIC, Virtual Machine or Data Disk) on an Azure Virtual Machine"},"content":{"rendered":"\n<p>I have been spending a lot of time building Azure environments lately. I have found that it is a great way to provide some extra redundancy for client networks and when you use 3-Year reserved VMs, the redundancy is not cost prohibitive.<\/p>\n\n\n\n<p>However, since I usually use the Azure portal to build the VMs instead of Powershell, I have found that the OS Disk, NICs and Data Disks usually get some funky names. I am a huge fan of a nice clean Azure install, so I prefer to change them to match the rest of the environment&#8217;s naming conventions. Usually this means I have to do some manual swapping etc.<\/p>\n\n\n\n<p>Not anymore!!<\/p>\n\n\n\n<p>Thanks to some scripts created by Charbel Nemnom (his blog is <a href=\"https:\/\/charbelnemnom.com\" data-type=\"URL\" data-id=\"https:\/\/charbelnemnom.com\">https:\/\/charbelnemnom.com<\/a>), renaming some of the things created by Azure is a whole lot easier.<\/p>\n\n\n\n<p>If you&#8217;d like to view the post, it&#8217;s here: <a href=\"https:\/\/charbelnemnom.com\/how-to-rename-azure-virtual-machine-os-disk\/\" data-type=\"URL\" data-id=\"https:\/\/charbelnemnom.com\/how-to-rename-azure-virtual-machine-os-disk\/\">https:\/\/charbelnemnom.com\/how-to-rename-azure-virtual-machine-os-disk\/<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>To rename the NIC interface for an Azure virtual machine, <a rel=\"noreferrer noopener\" href=\"https:\/\/charbelnemnom.com\/how-to-rename-the-nic-interface-for-an-azure-virtual-machine\/\" target=\"_blank\">please check the following article<\/a>.<\/p><p>To rename an Azure virtual machine, <a rel=\"noreferrer noopener\" href=\"https:\/\/charbelnemnom.com\/rename-azure-virtual-machine\/\" target=\"_blank\">please check the following article<\/a>.<\/p><p>To rename the Data Disks for an Azure virtual machine, <a rel=\"noreferrer noopener\" href=\"https:\/\/charbelnemnom.com\/rename-azure-vm-data-disks\/\" target=\"_blank\">please check the following article<\/a>.<\/p><\/blockquote>\n\n\n\n<p><\/p>\n\n\n\n<p>If you have any feedback or changes that everyone should receive, please leave Charbel Nemnom a comment on his blog post: <a rel=\"noreferrer noopener\" href=\"https:\/\/charbelnemnom.com\/how-to-rename-azure-virtual-machine-os-disk\/\" data-type=\"URL\" data-id=\"https:\/\/charbelnemnom.com\/how-to-rename-azure-virtual-machine-os-disk\/\" target=\"_blank\">https:\/\/charbelnemnom.com\/how-to-rename-azure-virtual-machine-os-disk\/<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been spending a lot of time building Azure environments lately. I have found that it is a great way to provide some extra redundancy for client networks and when you use 3-Year reserved VMs, the redundancy is not cost prohibitive. However, since I usually use the Azure portal to build the VMs instead &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.stormbreaker.tech\/?p=300\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How To Rename The OS Disk (NIC, Virtual Machine or Data Disk) on an Azure Virtual Machine&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[5],"tags":[28,32,31,30,33,29],"_links":{"self":[{"href":"https:\/\/www.stormbreaker.tech\/index.php?rest_route=\/wp\/v2\/posts\/300"}],"collection":[{"href":"https:\/\/www.stormbreaker.tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stormbreaker.tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stormbreaker.tech\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stormbreaker.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=300"}],"version-history":[{"count":3,"href":"https:\/\/www.stormbreaker.tech\/index.php?rest_route=\/wp\/v2\/posts\/300\/revisions"}],"predecessor-version":[{"id":308,"href":"https:\/\/www.stormbreaker.tech\/index.php?rest_route=\/wp\/v2\/posts\/300\/revisions\/308"}],"wp:attachment":[{"href":"https:\/\/www.stormbreaker.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stormbreaker.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stormbreaker.tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}