@@ -35,14 +35,14 @@ It does not apply any Virtual Hard Disk (VHD) format conversion.
35
35
36
36
### Example 1: Download an image
37
37
```
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" -ResourceGroupName "rgname "
39
39
```
40
40
41
41
This command downloads a .vhd file, and stores it in the local path C:\vhd\Win7Image.vhd.
42
42
43
43
### Example 2: Download an image and overwrite the local file
44
44
```
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 -ResourceGroupName "rgname"
46
46
```
47
47
48
48
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.
51
51
52
52
### Example 3: Download an image by using a specified number of threads
53
53
```
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 -ResourceGroupName "rgname"
55
55
```
56
56
57
57
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.
60
60
61
61
### Example 4: Download an image and specify the storage key
62
62
```
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==" -ResourceGroupName "rgname "
64
64
```
65
65
66
66
This command downloads a .vhd file and specifies the storage key.
@@ -113,7 +113,7 @@ Accept wildcard characters: False
113
113
` ` `
114
114
115
115
### -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 .
117
117
118
118
` ` ` yaml
119
119
Type : String
0 commit comments