From a11e18a70f89deceb78122ba2b0311c5538e342f Mon Sep 17 00:00:00 2001 From: Flynn Date: Mon, 20 Jun 2022 15:53:59 +0800 Subject: [PATCH] format the help markdown files of Az.KeyVault --- src/KeyVault/KeyVault/help/Get-AzKeyVaultManagedHsm.md | 2 +- src/KeyVault/KeyVault/help/Invoke-AzKeyVaultKeyOperation.md | 4 ++-- src/KeyVault/KeyVault/help/Remove-AzKeyVaultManagedHsm.md | 2 +- src/KeyVault/KeyVault/help/Update-AzKeyVaultManagedHsm.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/KeyVault/KeyVault/help/Get-AzKeyVaultManagedHsm.md b/src/KeyVault/KeyVault/help/Get-AzKeyVaultManagedHsm.md index b0263cae6987..bd988e900c05 100644 --- a/src/KeyVault/KeyVault/help/Get-AzKeyVaultManagedHsm.md +++ b/src/KeyVault/KeyVault/help/Get-AzKeyVaultManagedHsm.md @@ -93,7 +93,7 @@ This command gets all managed HSMs in the subscription that start with "myhsm". ### Example 5: List deleted managed HSMs ```powershell -PS C:\> Get-AzKeyVaultManagedHsm -InRemovedState +Get-AzKeyVaultManagedHsm -InRemovedState ``` ```output Name Location DeletionDate ScheduledPurgeDate Purge Protection Enabled? diff --git a/src/KeyVault/KeyVault/help/Invoke-AzKeyVaultKeyOperation.md b/src/KeyVault/KeyVault/help/Invoke-AzKeyVaultKeyOperation.md index 5ff8cce0968e..f9f94a97181c 100644 --- a/src/KeyVault/KeyVault/help/Invoke-AzKeyVaultKeyOperation.md +++ b/src/KeyVault/KeyVault/help/Invoke-AzKeyVaultKeyOperation.md @@ -44,7 +44,7 @@ Invoke-AzKeyVaultKeyOperation cmdlet supports ### Encrypts using an encryption key ```powershell -$result = Invoke-AzKeyVaultKeyOperation -Operation Encrypt -Algorithm RSA1_5 -VaultName test-kv -Name test-key -Value (ConvertTo-SecureString -String "test" -AsPlainText -Force) ult +$result = Invoke-AzKeyVaultKeyOperation -Operation Encrypt -Algorithm RSA1_5 -VaultName test-kv -Name test-key -Value (ConvertTo-SecureString -String "test" -AsPlainText -Force) $result | Format-List ``` @@ -59,7 +59,7 @@ Encrypts string "test" using test-key stored in test-kv. The returned result is ### Decrypt encrypted data ```powershell $result -$result = Invoke-AzKeyVaultKeyOperation -Operation Decrypt -Algorithm RSA1_5 -VaultName test-kv -Name test-key -Value (ConvertTo-SecureString -String $result.Result -AsPlainText -Force) ult +$result = Invoke-AzKeyVaultKeyOperation -Operation Decrypt -Algorithm RSA1_5 -VaultName test-kv -Name test-key -Value (ConvertTo-SecureString -String $result.Result -AsPlainText -Force) $result | Format-List ``` diff --git a/src/KeyVault/KeyVault/help/Remove-AzKeyVaultManagedHsm.md b/src/KeyVault/KeyVault/help/Remove-AzKeyVaultManagedHsm.md index e4e049bc53d9..d7d381cadfea 100644 --- a/src/KeyVault/KeyVault/help/Remove-AzKeyVaultManagedHsm.md +++ b/src/KeyVault/KeyVault/help/Remove-AzKeyVaultManagedHsm.md @@ -86,7 +86,7 @@ If you do not specify the resource group name, the cmdlet searches for the named ### Example 3: Purge a deleted managed hsm ```powershell -PS C:\> Remove-AzKeyVaultManagedHsm -Name 'myhsm' -Location "eastus" -Force -PassThru +Remove-AzKeyVaultManagedHsm -Name 'myhsm' -Location "eastus" -Force -PassThru ``` ```output diff --git a/src/KeyVault/KeyVault/help/Update-AzKeyVaultManagedHsm.md b/src/KeyVault/KeyVault/help/Update-AzKeyVaultManagedHsm.md index 2d83b4235442..f75a50f39880 100644 --- a/src/KeyVault/KeyVault/help/Update-AzKeyVaultManagedHsm.md +++ b/src/KeyVault/KeyVault/help/Update-AzKeyVaultManagedHsm.md @@ -75,7 +75,7 @@ Updates tags for the managed Hsm using piping syntax. ### Example 3: Enable purge protection for a managed Hsm ```powershell -PS C:\> Update-AzKeyVaultManagedHsm -Name $hsmName -ResourceGroupName $resourceGroupName -EnablePurgeProtection | fl +Update-AzKeyVaultManagedHsm -Name $hsmName -ResourceGroupName $resourceGroupName -EnablePurgeProtection | Format-List ``` ```output