Azure training resources

Azure Online Roadmap http://www.microsoft.com/en-us/server-cloud/roadmap/recently-available.aspx?TabIndex=0 Azure Training (Channel 9) http://channel9.msdn.com/Azure Free Azure eBooks (Training) http://www.microsoftvirtualacademy.com/ebooks#azure Online Azure Training (Free) http://www.microsoftvirtualacademy.com/product-training/microsoft-azure Azure Social Forums (MSDN) https://social.msdn.microsoft.com/Forums/azure/en-US/home Azure Blog (Official) http://azure.microsoft.com/blog/ Azure (Twitter) https://twitter.com/mscloud Continue reading Azure training resources

PowerShell script to add a disk on Azure VM

  $rgName = ‘testingsan’ $vmName = ‘testingsan’ $location = ‘myAzureLocation’ $storageType = ‘StandardLRS’   Function Dateformat {        $date =Get-Date -UFormat “%y%m%d%H%M”      $date.ToString()      }   $df = Dateformat     $dataDiskName = $vmName + ‘_datadisk’+‘_’+$df   $diskConfig = New-AzureRmDiskConfig -AccountType $storageType -Location $location -CreateOption Empty –DiskSizeGB 9999   $dataDisk = New-AzureRmDisk -DiskName … Continue reading PowerShell script to add a disk on Azure VM

Add a NIC in Azure with Powershell

First at all, log in Azure Login-AzureRmAccount Choice the subscription to use and declare the variables Select-AzureRmSubscription –SubscriptionId <id_of_your_subscription> $VMname = ‘VMName’ $VMRG = ‘ResourceGroupName’ $NICName = ‘NICName’ $NICResourceGroup = ‘NICResourceGroupName’ Get the VM $VM = Get-AzureRmVM -Name $VMname -ResourceGroupName $VMRG Add the second NIC $NewNIC = Get-AzureRmNetworkInterface -Name $NICName -ResourceGroupName $NICResourceGroup $VM = Add-AzureRmVMNetworkInterface … Continue reading Add a NIC in Azure with Powershell