Automate Disk initialization on VM with Azure Desired State Configuration

A common scenario is that Azure VMs are being provisioned with some extra disks attached, those disks then needs to be initialized before use. Doing that for more than one server becomes time consuming so it needs to be automated. I recently ran across this need again and recall solving it with DSC, of course … Read more

Step-by-Step Documenting your Azure VMs

  The short version Open Azure PowerShell Select the subscription you want to document Run this one-liner   Get-AzureVM | ForEach-Object { $vm = $_.name ; Write-Output “$vm VM Properties” ; Write-Output “—————” ; Format-List -InputObject $_ -Property * ; Write-Output “$vm VM Endpoints” ; Write-Output “—————” ; Get-AzureEndpoint -VM $_ ; Write-Output “$vm Virtual … Read more