Skip to content

Commit 86ae544

Browse files
committed
Update and add to samples list
1 parent d1041f0 commit 86ae544

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

articles/azure-app-configuration/powershell-samples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: PowerShell samples
33
description: Learn about the Azure PowerShell sample scripts available for App Configuration.
44
ms.service: azure-app-configuration
55
ms.topic: sample
6-
ms.date: 12/14/2022
6+
ms.date: 01/19/2023
77
ms.author: malev
88
author: maud-lv
99
---

articles/azure-app-configuration/scripts/cli-create-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This sample script creates a new instance of Azure App Configuration in a new re
2020

2121
[!INCLUDE [azure-cli-prepare-your-environment.md](~/articles/reusable-content/azure-cli/azure-cli-prepare-your-environment.md)]
2222

23-
- This tutorial requires version 2.0 or later of the Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
23+
- This tutorial requires version 2.0 or later of the Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
2424

2525
## Sample script
2626

articles/azure-app-configuration/scripts/powershell-create-service.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,23 @@ To execute the sample scripts, you need a functional setup of [Azure PowerShell]
2525
## Sample script
2626

2727
```powershell
28-
2928
# Create resource group
30-
New-AzResourceGroup -Name <rg-name> -Location <location>
29+
New-AzResourceGroup -Name <resource-group-name> -Location <location>
3130
3231
# Create App Configuration store
33-
New-AzAppConfigurationStore -Name <store-name> -ResourceGroupName <rg-name> -Location <location> -Sku <sku>
32+
New-AzAppConfigurationStore -Name <store-name> -ResourceGroupName <resource-group-name> -Location <location> -Sku <sku>
3433
3534
# Get the AppConfig connection string
36-
Get-AzAppConfigurationStoreKey -Name <store-name> -ResourceGroupName <rg-name>
35+
Get-AzAppConfigurationStoreKey -Name <store-name> -ResourceGroupName <resource-group-name>
3736
```
3837

39-
[!INCLUDE [cli-script-cleanup](../../../includes/cli-script-clean-up.md)]
38+
## Clean up resources
39+
40+
Clean up the resources you deployed by deleting the resource group.
41+
42+
```powershell
43+
Remove-AzResourceGroup -Name <resource-group-name>
44+
```
4045

4146
## Script explanation
4247

@@ -50,6 +55,6 @@ This script uses the following commands to create a new resource group and an Ap
5055

5156
## Next steps
5257

53-
For more information on Azure PowerShell, see [Azure CLI documentation](/cli/azure).
58+
For more information about Azure PowerShell, see [Azure CLI documentation](/powershell/azure/what-is-azure-powershell).
5459

55-
Additional App Configuration PowerShell script samples can be found in the [Azure App Configuration PowerShell samples](../powershell-samples.md).
60+
Additional App Configuration PowerShell script samples can be found in the [Azure App Configuration PowerShell samples](../powershell-samples.md).

0 commit comments

Comments
 (0)