Skip to content

Commit 881105e

Browse files
authored
Update Save-AzureRMVHD
The resource group is for a storage account not the Virtual machine
1 parent 677fd4a commit 881105e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ResourceManager/Compute/Commands.Compute/help/Save-AzureRmVhd.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ It does not apply any Virtual Hard Disk (VHD) format conversion.
3535

3636
### Example 1: Download an image
3737
```
38-
PS C:\> Save-AzureRmVhd -Source "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd" -LocalFilePath "C:\vhd\Win7Image.vhd"
38+
PS C:\> Save-AzureRmVhd -SourceUri "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd" -LocalFilePath "C:\vhd\Win7Image.vhd"
3939
```
4040

4141
This command downloads a .vhd file, and stores it in the local path C:\vhd\Win7Image.vhd.
4242

4343
### Example 2: Download an image and overwrite the local file
4444
```
45-
PS C:\> Save-AzureRmVhd -Source "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd" -LocalFilePath "C:\vhd\Win7Image.vhd" -Overwrite
45+
PS C:\> Save-AzureRmVhd -SourceUri "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd" -LocalFilePath "C:\vhd\Win7Image.vhd" -Overwrite
4646
```
4747

4848
This command downloads a .vhd file, and stores it in the local path.
@@ -51,7 +51,7 @@ Therefore, if C:\vhd\Win7Image.vhd already exists, this command replaces it.
5151

5252
### Example 3: Download an image by using a specified number of threads
5353
```
54-
PS C:\> Save-AzureRmVhd -Source "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd" -LocalFilePath "C:\vhd\Win7Image.vhd" -NumberOfThreads 32
54+
PS C:\> Save-AzureRmVhd -SourceUri "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd" -LocalFilePath "C:\vhd\Win7Image.vhd" -NumberOfThreads 32
5555
```
5656

5757
This command downloads a .vhd file, and stores it in the local path.
@@ -60,7 +60,7 @@ Therefore, the cmdlet uses 32 threads for this action.
6060

6161
### Example 4: Download an image and specify the storage key
6262
```
63-
PS C:\> Save-AzureRmVhd -Source "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd" -LocalFilePath "C:\vhd\Win7Image.vhd" -StorageKey "zNvcH0r5vAGmC5AbwEtpcyWCMyBd3eMDbdaa4ua6kwxq6vTZH3Y+sw=="
63+
PS C:\> Save-AzureRmVhd -SourceUri "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd" -LocalFilePath "C:\vhd\Win7Image.vhd" -StorageKey "zNvcH0r5vAGmC5AbwEtpcyWCMyBd3eMDbdaa4ua6kwxq6vTZH3Y+sw=="
6464
```
6565

6666
This command downloads a .vhd file and specifies the storage key.
@@ -113,7 +113,7 @@ Accept wildcard characters: False
113113
```
114114
115115
### -ResourceGroupName
116-
Specifies the name of the resource group of the virtual machine.
116+
Specifies the name of the resource group of the storage account.
117117
118118
```yaml
119119
Type: String

0 commit comments

Comments
 (0)