Home
%3CLINGO-SUB%20id%3D%22lingo-sub-1181541%22%20slang%3D%22en-US%22%3EAz%20Update%3A%20Cloud%20Shell%20running%20PS7%20and%20Scopes%20for%20ARM%20Templates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1181541%22%20slang%3D%22en-US%22%3E%3CP%3EWith%20all%20the%20changes%20in%20Azure%2C%20it%20is%20sometimes%20hard%20to%20keep%20track%2C%20that%20why%20I%20thought%20I%20will%20give%20you%20a%20quick%20update%20on%20two%20exiting%20things%20I%20learned%20this%20week.%26nbsp%3B%20I%20will%20show%20you%20that%20Azure%20Cloud%20Shell%20is%20now%20already%20running%20PowerShell%207%20(currently%20Release%20Candidate%202)%20and%20that%20you%20can%20now%20deploy%20Azure%20Resource%20Manager%20Templates%20to%20any%20scope%20in%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1409042590%22%20id%3D%22toc-hId--1409042590%22%3EAzure%20Cloud%20Shell%20running%20PowerShell%207%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20not%20familiar%20with%20Azure%20Cloud%20Shell%2C%20it%20is%20basically%20y%3CSPAN%3Eour%20Microsoft-managed%20admin%20machine%20in%20Azure%2C%20for%20Azure%20and%20even%20other%20Microsoft%20services.%26nbsp%3BAzure%20Cloud%20Shell%20is%20an%20interactive%2C%20authenticated%2C%20browser-accessible%20shell%20for%20managing%20Azure%20resources.%20It%20provides%20the%20flexibility%20of%20choosing%20the%20shell%20experience%20that%20best%20suits%20the%20way%20you%20work%2C%20either%20Bash%20or%20PowerShell.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Azure%20Cloud%20Shell%20runs%20PowerShell%207.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171989i7449AFB62262BFE2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Azure%20Cloud%20Shell%20runs%20PowerShell%207.jpg%22%20alt%3D%22Azure%20Cloud%20Shell%20runs%20PowerShell%207%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAzure%20Cloud%20Shell%20runs%20PowerShell%207%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThis%20week%20I%20learned%20that%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Ffeatures%2Fcloud-shell%3FWT.mc_id%3Ditopstalk-blog-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Cloud%20Shell%3C%2FA%3E%20just%20got%20upgraded%20to%20PowerShell%207%20release%20candidate%202.%20This%20basically%20means%20that%20you%20can%20now%20already%20try%20out%20some%20of%20the%20%3CA%20href%3D%22https%3A%2F%2Fwww.thomasmaurer.ch%2F2020%2F03%2Fwhats-new-in-powershell-7-check-it-out%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Enew%20features%20in%20PowerShell%207%3C%2FA%3E%2C%20like%20the%20new%20Ternary%20operator%20or%20easier%20to%20read%20error%20messages%20and%20many%20more%20features%20and%20improvements.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Ternary%20operator.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171994iEF770F6BEC555F93%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Ternary%20operator.jpg%22%20alt%3D%22Ternary%20operator%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ETernary%20operator%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFor%20example%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-csharp%22%3E%3CCODE%3Econdition%20%3F%20expr1%20%3A%20expr2%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20want%20to%20%3CA%20href%3D%22https%3A%2F%2Fwww.thomasmaurer.ch%2F2019%2F07%2Fhow-to-install-and-update-powershell-7%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Einstall%20and%20update%20PowerShell%207%3C%2FA%3E%20on%20your%20local%20machine%2C%20check%20out%20the%20following%20blog%20post%2C%20and%20if%20you%20want%20to%20learn%20more%20tricks%20and%20tips%20in%20Azure%20Cloud%20Shell%2C%20check%20out%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.thomasmaurer.ch%2F2019%2F01%2Fazure-cloud-shell%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMastering%20Azure%20with%20Cloud%20Shell%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1078470243%22%20id%3D%22toc-hId-1078470243%22%3EDeploy%20Azure%20Resource%20Manager%20Templates%20to%20any%20scope%20in%20Azure%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMy%20eyes%26nbsp%3Bcaught%20a%20%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2FKristianNese%2Fstatus%2F1230016733873872897%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Etweet%3C%2FA%3E%20by%20Kristian%20Nese%20(Program%20Manager%20at%20Microsoft)%20this%20week%2C%20where%20he%20mentioned%20new%20the%20options%20to%20now%20deploy%20an%20Azure%20Resource%20Manager%20template%20to%20any%20scope%20in%20Azure.%20That%20means%20you%20can%20now%20also%20deploy%20an%20Azure%20Resource%20Manager%20(ARM)%20template%20to%20a%20subscription%2C%20management%20group%2C%20resource%20group%20or%20a%20tenant.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAlex%20Frankel%20(Program%20Manager%20at%20Microsoft)%20%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2Fadotfrank%2Fstatus%2F1230158307806941185%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Epoints%20out%3C%2FA%3E%20that%20t%3C%2FSPAN%3Ehis%20now%20allows%20you%20to%20do%20things%20like%20deploying%20your%20management%20group%20hierarchy%2C%20role%20and%20policy%20definitions%20and%20assignments%20to%20any%20scope%20using%20Azure%20Resource%20Manager%20(ARM)%20templates.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Deploy%20Azure%20Resource%20Manager%20Templates%20to%20any%20scope%20in%20Azure.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171996iC720BC63CAA08B4E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Deploy%20Azure%20Resource%20Manager%20Templates%20to%20any%20scope%20in%20Azure.jpg%22%20alt%3D%22Deploy%20Azure%20Resource%20Manager%20Templates%20to%20any%20scope%20in%20Azure%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EDeploy%20Azure%20Resource%20Manager%20Templates%20to%20any%20scope%20in%20Azure%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20want%20to%20learn%20more%20about%20Azure%20Resource%20Manager%20templates%2C%20check%20out%20the%20Microsoft%20Docs%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-resource-manager%2Ftemplates%2Foverview%3FWT.mc_id%3Ditopstalk-blog-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Resource%20Manager%20templates%20overview%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--728984220%22%20id%3D%22toc-hId--728984220%22%3EPublic%20Preview%20of%20Virtual%20Network%20NAT%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20running%20virtual%20machines%20in%20Azure%20you%20are%20familiar%20that%20handling%20outbound%20internet%20connectivity%20can%20be%20difficult.%26nbsp%3B%3CSPAN%3EVirtual%20Network%20NAT%20(network%20address%20translation)%20is%20a%20NAT%20is%20fully%20managed%20and%20highly%20resilient%20service%2C%20which%20simplifies%20outbound-only%20Internet%20connectivity%20for%20Azure%20virtual%20networks.%20If%20you%20configured%20Virtual%20Network%20NAT%20on%20a%20subnet%2C%20all%20outbound%20connectivity%20uses%20your%20specified%20static%20public%20IP%20addresses.%20For%20the%20outbound%20traffic%2C%20there%20is%20no%20need%20for%20a%20load%20balancer%20or%20public%20IP%20addresses%20directly%20attached%20to%20virtual%20machines.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Virtual%20Network%20NAT.jpg%22%20style%3D%22width%3A%20779px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171998i58C250B14E4E2487%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Virtual%20Network%20NAT.jpg%22%20alt%3D%22Virtual%20Network%20NAT%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EVirtual%20Network%20NAT%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIf%20you%20want%20to%20know%20more%20about%20Virtual%20Network%20NAT%2C%20which%20is%20currently%20in%20Public%20Preview%2C%20check%20out%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-network%2Fnat-overview%3FWT.mc_id%3Ditopstalk-blog-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMicrosoft%20Docs%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1758528613%22%20id%3D%22toc-hId-1758528613%22%3E%3CSPAN%3EUse%20AI%20to%20find%20Azure%20CLI%20commands%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIn%20case%20you%20missed%20it%2C%20we%20also%20have%20a%20short%20blog%20on%20how%20Azure%20CLI%20uses%20AI%20to%20help%20you%20find%20commands.%26nbsp%3BThe%20az%20find%20command%20provides%20you%20with%20example%20commands%20based%20on%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%3FWT.mc_id%3Ditopstalk-blog-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20documentation%3C%2FA%3E%26nbsp%3Band%20usage%20patterns%20of%20the%20Azure%20CLI%20and%20Azure%20Resource%20Manager%20users.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Azure%20Find%20Azure%20CLI%20Search%20Term.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F172295iA69960AB97C1BA90%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Azure%20Find%20Azure%20CLI%20Search%20Term.jpg%22%20alt%3D%22Azure%20CLI%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAzure%20CLI%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EYou%20can%20find%20the%20full%20blog%20post%20here%20on%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fitops-talk-blog%2Fazure-cli-tip-use-ai-to-find-az-commands%2Fba-p%2F1170564%3FWT.mc_id%3Ditopstalk-blog-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3EITOpsTalk.com%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI%20hope%20this%20short%20blog%20post%20provided%20you%20with%20some%20interesting%20news%20from%20this%20week.%20I%20know%20there%20is%20much%20more%20than%20just%20the%20things%20I%20listed%20here.%20I%20recommend%20that%20you%20follow%20the%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Ftopics%2Fannouncements%3FWT.mc_id%3Ditopstalk-blog-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20announcements%20blog%3C%2FA%3E.%20If%20you%20have%20any%20questions%2C%20feel%20free%20to%20leave%20a%20comment.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1181541%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20is%20the%20end%20of%20the%20week%20and%20it%20is%20time%20to%20give%20you%20an%20update%20on%20some%20exciting%20things%20around%20Azure%20Cloud%20Shell%2C%20PowerShell%207%20and%20ARM%20Templates.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1181541%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EThomas%20Maurer%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

With all the changes in Azure, it is sometimes hard to keep track, that why I thought I will give you a quick update on two exiting things I learned this week.  I will show you that Azure Cloud Shell is now already running PowerShell 7 (currently Release Candidate 2) and that you can now deploy Azure Resource Manager Templates to any scope in Azure.

 

Azure Cloud Shell running PowerShell 7

 

If you are not familiar with Azure Cloud Shell, it is basically your Microsoft-managed admin machine in Azure, for Azure and even other Microsoft services. Azure Cloud Shell is an interactive, authenticated, browser-accessible shell for managing Azure resources. It provides the flexibility of choosing the shell experience that best suits the way you work, either Bash or PowerShell.

 

Azure Cloud Shell runs PowerShell 7Azure Cloud Shell runs PowerShell 7

This week I learned that Azure Cloud Shell just got upgraded to PowerShell 7 release candidate 2. This basically means that you can now already try out some of the new features in PowerShell 7, like the new Ternary operator or easier to read error messages and many more features and improvements.

 

Ternary operatorTernary operator

For example:

 

condition ? expr1 : expr2

 

 

If you want to install and update PowerShell 7 on your local machine, check out the following blog post, and if you want to learn more tricks and tips in Azure Cloud Shell, check out: Mastering Azure with Cloud Shell.

 

Deploy Azure Resource Manager Templates to any scope in Azure

 

My eyes caught a tweet by Kristian Nese (Program Manager at Microsoft) this week, where he mentioned new the options to now deploy an Azure Resource Manager template to any scope in Azure. That means you can now also deploy an Azure Resource Manager (ARM) template to a subscription, management group, resource group or a tenant.

 

Alex Frankel (Program Manager at Microsoft) points out that this now allows you to do things like deploying your management group hierarchy, role and policy definitions and assignments to any scope using Azure Resource Manager (ARM) templates.

 

Deploy Azure Resource Manager Templates to any scope in AzureDeploy Azure Resource Manager Templates to any scope in Azure

 

If you want to learn more about Azure Resource Manager templates, check out the Microsoft Docs: Azure Resource Manager templates overview.

 

Public Preview of Virtual Network NAT

 

If you are running virtual machines in Azure you are familiar that handling outbound internet connectivity can be difficult. Virtual Network NAT (network address translation) is a NAT is fully managed and highly resilient service, which simplifies outbound-only Internet connectivity for Azure virtual networks. If you configured Virtual Network NAT on a subnet, all outbound connectivity uses your specified static public IP addresses. For the outbound traffic, there is no need for a load balancer or public IP addresses directly attached to virtual machines. 

 

Virtual Network NATVirtual Network NAT

 

If you want to know more about Virtual Network NAT, which is currently in Public Preview, check out the Microsoft Docs.

 

Use AI to find Azure CLI commands

 

In case you missed it, we also have a short blog on how Azure CLI uses AI to help you find commands. The az find command provides you with example commands based on Azure documentation and usage patterns of the Azure CLI and Azure Resource Manager users.

 

Azure CLIAzure CLI

You can find the full blog post here on ITOpsTalk.com.

 

I hope this short blog post provided you with some interesting news from this week. I know there is much more than just the things I listed here. I recommend that you follow the Azure announcements blog. If you have any questions, feel free to leave a comment.