Hello @Glenn Maxwell ,
Below is the complete script for your server02 to add two disks.
$vmName = "server02"
$disk1_name = "_Data11"
$disk2_name = "_Data21"
$lunl1 = 2
$lunl2 = 3
$lun1size = 1024
$lun2size = 2048
$vm = Get-AzVM -Nam $vmName
$rgName = $vm.ResourceGroupName
$location = $vm.location
$storageType = 'Premium_LRS'
$dataDisk1Name = $vmName + $disk1_name
$dataDisk2Name = $vmName + $disk2_name
$tags = $vm.Tags
$diskConfig1 = New-AzDiskConfig -SkuName $storageType -Location $location -CreateOption Empty -DiskSizeGB $lun1size -tag $Tags -zone 1
$diskConfig2 = New-AzDiskConfig -SkuName $storageType -Location $location -CreateOption Empty -DiskSizeGB $lun2size -tag $Tags -zone 1
$dataDisk1 = New-AzDisk -DiskName $dataDisk1Name -Disk $diskConfig1 -ResourceGroupName $rgName
$dataDisk2 = New-AzDisk -DiskName $dataDisk2Name -Disk $diskConfig2 -ResourceGroupName $rgName
$vm = Add-AzVMDataDisk -VM $vm -Name $dataDisk1Name -CreateOption Attach -ManagedDiskId $dataDisk1.Id -Lun $lunl1
$vm = Add-AzVMDataDisk -VM $vm -Name $dataDisk2Name -CreateOption Attach -ManagedDiskId $dataDisk2.Id -Lun $lunl2
Update-AzVM -VM $vm -ResourceGroupName $rgName
Let me know if you have additional questions !