Skip to content

fixing Issue 4746 #4750

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 10, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.Commands.Management.Storage.dll-Help.xml
ms.assetid: FDD2CE98-6C7E-4B95-BA5B-B03B6AC6EAEF
online version:
online version:
schema: 2.0.0
---

Expand All @@ -24,7 +24,7 @@ The **New-AzureRmStorageAccountKey** cmdlet regenerates a storage key for an Azu

### Example 1: Regenerate a storage key
```
PS C:\>New-AzureRmStorageKey -ResourceGroupName "MyResourceGroup" -AccountName "MyStorageAccount" -KeyName "key1"
PS C:\>New-AzureRmStorageKey -ResourceGroupName "MyResourceGroup" -Name "MyStorageAccount" -KeyName "key1"
```

This command regenerates a storage key for the specified Storage account.
Expand All @@ -35,13 +35,13 @@ This command regenerates a storage key for the specified Storage account.
Specifies which key to regenerate.
The acceptable values for this parameter are:

- key1
- key1
- key2

```yaml
Type: String
Parameter Sets: (All)
Aliases:
Aliases:
Accepted values: key1, key2

Required: True
Expand Down Expand Up @@ -72,7 +72,7 @@ Specifies the name of the resource group that contains the Storage account.
```yaml
Type: String
Parameter Sets: (All)
Aliases:
Aliases:

Required: True
Position: 0
Expand All @@ -95,5 +95,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## RELATED LINKS

[Get-AzureRmStorageAccountKey](./Get-AzureRmStorageAccountKey.md)