Skip to content

Commit 5872863

Browse files
author
Ziyue Zheng
committed
Fix Az.KeyVault Syntax Errors
1 parent 0f480f5 commit 5872863

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/KeyVault/KeyVault/help/Export-AzKeyVaultSecurityDomain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Exports the security domain data of a managed HSM for importing on another HSM.
3333

3434
### Example 1
3535
```powershell
36-
Export-AzKeyVaultSecurityDomain -Name testmhsm -Certificates {./sd1, ./sd2,./sd3} -OutputPath sd.ps.json -Quorum 2
36+
Export-AzKeyVaultSecurityDomain -Name testmhsm -Certificates sd1.cer, sd2.cer, sd3.cer -OutputPath sd.ps.json -Quorum 2
3737
```
3838

3939
This command retrieves the managed HSM named testmhsm and saves a backup of that managed HSM security domain to the specified output file.

src/KeyVault/KeyVault/help/Update-AzKeyVaultSecret.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ ContosoVault, using the stored variables.
6363

6464
### Example 2: Delete the tags and content type for a secret
6565
```powershell
66-
$ContentType= 'xml'
67-
Update-AzKeyVaultSecret -VaultName 'ContosoVault' -Name 'HR' -Version '9EEA45C6EE50490B9C3176A80AC1A0DF' -ContentType $ContentType -Tag @{}
66+
Update-AzKeyVaultSecret -VaultName 'ContosoVault' -Name 'HR' -Version '9EEA45C6EE50490B9C3176A80AC1A0DF' -ContentType '' -Tag @{}
6867
```
6968

7069
This command deletes the tags and the content type for the specified version of the secret named HR

0 commit comments

Comments
 (0)