Attach a new datadrive to your Azure VM
Command to attach a datadrive in Azure Virtual Machine
Please execute the below command to attach a data drive of size 1TB to your Azure VM.
PS C:\> Get-AzureVM "Your_Cloud_Service_Name" -Name "Your_VM_Name" | Add-AzureDataDisk -CreateNew -DiskSizeInGB 1024 -DiskLabel "My Data" -LUN1 | Update-AzureVM