I'm uploading a VHD from my local computer to a new Azure managed disk, but it becomes unhealthy.
Koji Karasuyama / OC-IAB PBD-C SOFT DEVEL 2
0
Reputation points
The contents entered in Azure PowerShell and the error message are as follows.
PS /home/zz> $path = "c:\Temp\Win10_22H2_JP.vhd"
PS /home/zz> $resourceGroup = "xxxxxxxxx"
PS /home/zz> $location = "yyyyyyyyy"
PS /home/zz> $name = "nnnnnnnnn"
PS /home/zz> Add-AzVhd -LocalFilePath $path -ResourceGroupName $resourceGroup -Location $location -DiskName $name
Add-AzVhd: Cannot find drive. A drive with the name 'c' does not exist.
PS /home/zz>