Skip to content

Commit 86f5764

Browse files
SkuldomsJinLei
authored andcommitted
Update Remove-AzKeyVault.md
Updated VaultName to Name for Azure#10676
1 parent 6d0f92f commit 86f5764

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/KeyVault/KeyVault/help/Remove-AzKeyVault.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll-Help.xml
33
Module Name: Az.KeyVault
44
ms.assetid: 7A929BA8-02D9-4BBE-AFF3-B8781F8DDAD9
@@ -15,13 +15,13 @@ Deletes a key vault.
1515

1616
### ByAvailableVault (Default)
1717
```
18-
Remove-AzKeyVault [-VaultName] <String> [[-ResourceGroupName] <String>] [[-Location] <String>] [-Force]
18+
Remove-AzKeyVault [-Name] <String> [[-ResourceGroupName] <String>] [[-Location] <String>] [-Force]
1919
[-AsJob] [-PassThru] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2020
```
2121

2222
### ByDeletedVault
2323
```
24-
Remove-AzKeyVault [-VaultName] <String> [-Location] <String> [-InRemovedState] [-Force] [-AsJob] [-PassThru]
24+
Remove-AzKeyVault [-Name] <String> [-Location] <String> [-InRemovedState] [-Force] [-AsJob] [-PassThru]
2525
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2626
```
2727

@@ -58,7 +58,7 @@ Note that although specifying the resource group is optional for this cmdlet, yo
5858

5959
### Example 1: Remove a key vault
6060
```powershell
61-
PS C:\> Remove-AzKeyVault -VaultName "Contoso03Vault" -PassThru
61+
PS C:\> Remove-AzKeyVault -Name "Contoso03Vault" -PassThru
6262
6363
True
6464
```
@@ -67,7 +67,7 @@ This command removes the key vault named Contoso03Vault from your current subscr
6767

6868
### Example 2: Remove a key vault from a specified resource group
6969
```powershell
70-
PS C:\> Remove-AzKeyVault -VaultName "Contoso03Vault" -ResourceGroupName "Group14" -PassThru
70+
PS C:\> Remove-AzKeyVault -Name "Contoso03Vault" -ResourceGroupName "Group14" -PassThru
7171
7272
True
7373
```

0 commit comments

Comments
 (0)