how to resize your VNET Gateway from Basic to High Performance

Please note that when you create a VNET Gateway, the default Virtual Network Gateway SKU is Basic. If you need higher level SKU for better gateway performance with some extra cost (check Azure pricing page for more detais), you can modify the VNET Gateway size to Standard or HighPerformace as below. You can change it…


how to export VM details in Azure Resource Manager (ARM)

1. Run the following PowerShell script. $cred = Get-Credential (Login-AzureRmAccount -Credential $cred)>0 $Subscriptions = Get-AzureRMSubscription $vmarray = @() $i=0 foreach ( $Subscription in $Subscriptions ) { $SubscriptionId = $Subscription.SubscriptionId (Login-AzureRmAccount -Credential $cred -subscriptionid $SubscriptionId)>0 (Select-AzureRMSubscription -SubscriptionId $SubscriptionId)>0 $i++ Write-Progress -activity $subscription.SubscriptionName -PercentComplete ($i/$Subscriptions.Count*100) ($rmvms=Get-AzurermVM) > 0 foreach ($vm in $rmvms) { $vmstatus = Get-AzurermVM -Name…


how to resize your OS disk of your Azure VM to maximum allowed size

1. Run the following PowerShell. Modify the parameters accordingly. $cred = Get-Credential Login-AzureRmAccount -Credential $cred $resourceGroup = “nerg1” $location = “North Europe” $vmName = “nerg1win1” $vm = Get-AzureRmVM -ResourceGroupName $resourceGroup -Name $vmName Stop-AzureRmVM -ResourceGroupName $resourceGroup -Name $vmName -Force $vm.StorageProfile.OsDisk.DiskSizeGB = 1023 Update-AzureRmVM -ResourceGroupName $resourceGroup -VM $vm   Start-AzureRmVM -ResourceGroupName $resourceGroup -Name $vmName 2. Extend the…


AADConnect error: The management agent “xxx.com” failed on run profile “Delta Import” because the database or database log file is full.

On the AADConnect server’s Windows event log, if you get an error similar to “The management agent xxx.com failed on run profile Delta Import because the database or database log file is full”, probably you need to cleanup AADConnect run profiles history and take backup of SQL Express database. First of all, please verify that you…