The Save-AzVhd cmdlet saves .vhd images from a blob where they are stored to a file.
You can specify the number of downloader threads that the process uses and whether to replace a file that already exists.
This cmdlet downloads content as it is.
It does not apply any Virtual Hard Disk (VHD) format conversion.
This command downloads a .vhd file, and stores it in the local path.
The command includes the Overwrite parameter.
Therefore, if C:\vhd\Win7Image.vhd already exists, this command replaces it.
Example 3: Download an image by using a specified number of threads
This command downloads a .vhd file, and stores it in the local path.
The command specifies a value of 32 for the NumberOfThreads parameter.
Therefore, the cmdlet uses 32 threads for this action.
Example 4: Download an image and specify the storage key
Specifies the storage key of the blob storage account.
If you do not specify a key, this cmdlet attempts to determine the storage key of the account in SourceUri from Azure.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.