Skip to content

Commit 2ea0372

Browse files
authored
updated the azureRM module to the new Az module
The old AzureRM modules need to be updates to the new AZ modules. I switched Add-AzureRMVhd with Add-AZVHD in two places. The link in the portal also should point to this instead of the AzureRM module: https://learn.microsoft.com/en-us/azure/virtual-machines/windows/disks-upload-vhd-to-managed-disk-powershell#use-add-azvhd
1 parent db6cd44 commit 2ea0372

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/devtest-labs/devtest-lab-upload-vhd-using-powershell.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ To upload a VHD file by using PowerShell:
4747

4848
1. In a text editor, paste the generated PowerShell script you copied from the Azure portal.
4949

50-
1. Modify the `-LocalFilePath` parameter of the Add-AzureRmVhd cmdlet to point to the location of the VHD file you want to upload.
50+
1. Modify the `-LocalFilePath` parameter of the Add-AZVHD cmdlet to point to the location of the VHD file you want to upload.
5151

52-
1. At a PowerShell command prompt, run the Add-AzureRmVhd cmdlet with the modified `-LocalFilePath` parameter.
52+
1. At a PowerShell command prompt, run the Add-AZVHD cmdlet with the modified `-LocalFilePath` parameter.
5353

5454
The process of uploading a VHD file might be lengthy depending on the size of the VHD file and your connection speed.
5555

0 commit comments

Comments
 (0)