Skip to content

Commit c5fdcfb

Browse files
authored
Merge pull request #115825 from mumian/0519-context
use set-azcontext
2 parents d492ff7 + 28d2bc3 commit c5fdcfb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

articles/azure-resource-manager/templates/deployment-tutorial-local-template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Tutorial - Deploy a local Azure Resource Manager template
33
description: Learn how to deploy an Azure Resource Manager template from your local computer
4-
ms.date: 03/13/2020
4+
ms.date: 05/20/2020
55
ms.topic: tutorial
66
ms.author: jgao
77
---
@@ -64,7 +64,7 @@ If you have multiple Azure subscriptions, select the subscription you want to us
6464
# [PowerShell](#tab/azure-powershell)
6565

6666
```azurepowershell
67-
Select-AzSubscription [SubscriptionID/SubscriptionName]
67+
Set-AzContext [SubscriptionID/SubscriptionName]
6868
```
6969

7070
# [Azure CLI](#tab/azure-cli)

articles/azure-resource-manager/templates/template-tutorial-create-first-template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Tutorial - Create & deploy template
33
description: Create your first Azure Resource Manager template. In the tutorial, you learn about the template file syntax and how to deploy a storage account.
44
author: mumian
5-
ms.date: 05/12/2020
5+
ms.date: 05/20/2020
66
ms.topic: tutorial
77
ms.author: jgao
88

@@ -96,7 +96,7 @@ If you have multiple Azure subscriptions, select the subscription you want to us
9696
# [PowerShell](#tab/azure-powershell)
9797

9898
```azurepowershell
99-
Select-AzSubscription [SubscriptionID/SubscriptionName]
99+
Set-AzContext [SubscriptionID/SubscriptionName]
100100
```
101101

102102
# [Azure CLI](#tab/azure-cli)

0 commit comments

Comments
 (0)