Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Determine the Guest OS version of an Azure Cloud Service

How does one determine the Guest OS version running on a Cloud Service? I cannot find this info exposed in either the Old (https://manage.windowsazure.com) or New (https://portal.azure.com) Azure Portal.

My Cloud Services are setup to use "*" as the osVersion so I realize the Guest OS gets updated as new versions are released. I just want to know what version I am currently running.

You might ask why I need to know? Well currently I want to know if my VMs are running the new Guest OS that supports .NET v4.5.2. But the broader question still applies.

like image 810
BrettRobi Avatar asked Jan 20 '16 22:01

BrettRobi


People also ask

What is guest OS in Azure?

A guest operating system is the operating system installed on either a virtual machine (VM) or partitioned disk. It is usually different from the host operating system. Simply put, a host OS runs on hardware, while a guest OS runs on a VM.

What version of Windows does Azure use?

Windows Server 2003 and later versions are supported for deployment in Microsoft Azure.

How do you see all the available services in Azure?

There is quick and very easy alternative way to find out all available Azure services, and that is from Azure Portal. Azure Portal has “All Services” section, which lists out all the services available. You can search the services directly here, or group by name and categories.


1 Answers

You can browse to the Cloud Service resource using https://resources.azure.com. That will reveal the OSVersion property.

It also reveals the PowerShell command to retrieve it, which should be similar to this:\

Get-AzureRmResource –ResourceGroupName <name> –ResourceType Microsoft.ClassicCompute/domainNames/slots/roles –ResourceName <cloudservicename/slot/rolename> –ApiVersion 2015-06-01 | select –ExpandProperty Properties | select OsVersion
like image 147
Mikkel Mørk Hegnhøj Avatar answered Dec 23 '22 08:12

Mikkel Mørk Hegnhøj