{"id":38433,"date":"2020-02-10T06:00:01","date_gmt":"2020-02-10T13:00:01","guid":{"rendered":"http:\/\/devblogs.microsoft.com\/premier-developer\/?p=38433"},"modified":"2020-02-06T14:03:28","modified_gmt":"2020-02-06T21:03:28","slug":"adding-tags-to-new-resources-with-azure-powershell","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/premier-developer\/adding-tags-to-new-resources-with-azure-powershell\/","title":{"rendered":"Adding Tags to New Resources with Azure PowerShell"},"content":{"rendered":"<p>In this article, <a href=\"https:\/\/soltisweb.com\/\">Bryan Soltis<\/a> explains how to add tags to your PowerShell-scripted Azure resources and keep your systems categorized.<\/p>\n<hr \/>\n<p>Creating services using Azure PowerShell is fun way to learn syntax and errors messages. There are tons of great commands you can use to do nearly everything as wrong as possible. A missed <strong><em>space<\/em><\/strong> here, forget a <strong><em>dash<\/em><\/strong> there, and everything explodes. It\u2019s fantastic! But, when you do get the characters right, it\u2019s pretty awesome to be able to script entire Azure architectures with just some lines of code. And if you\u2019re following best practices and using tagging, you probably want to incorporate that into the mix.<\/p>\n<p>I recently worked with a client using Azure Policy to enforce tagging for resources. The company was super savvy and scripted nearly every aspect of their deployments. \u00a0This included using Azure PowerShell to create environments and architectures. I got proposed a question on how to specify tags as part of the creation and found the solution pretty interesting. Hopefully, you will, too!<\/p>\n<p>Continue reading on Bryan\u2019s blog <a href=\"https:\/\/soltisweb.com\/blog\/detail\/2020-01-28-adding-tags-to-new-resources-with-azure\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to add tags to your PowerShell-scripted Azure resources and keep your systems categorized.<\/p>\n","protected":false},"author":582,"featured_media":37840,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[25,1],"tags":[24,102],"class_list":["post-38433","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","category-permierdev","tag-azure","tag-powershell"],"acf":[],"blog_post_summary":"<p>Learn how to add tags to your PowerShell-scripted Azure resources and keep your systems categorized.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/38433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/users\/582"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/comments?post=38433"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/38433\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media\/37840"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media?parent=38433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/categories?post=38433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/tags?post=38433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}