VM Operating System property disparity

Ehlert, Erik 20 Reputation points
2024-02-08T14:52:17.28+00:00

When one looks at the properties of a VM on the overview page for a specific VM the Operating System is detailed such as Windows (Windows Server 2022 Datacenter). But when you view the same VM in a list view the column labeled "Operating System" shows only Windows, and I found no other column with detailed OS information. Why? Are these actually different properties? I'm looking to get the property value onto the list view so I can export it to CSV.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 28,201 Reputation points Moderator
    2024-02-09T09:16:36.97+00:00

    Hi @Ehlert, Erik

    Thank you for reaching out to the Microsoft Q&A platform.

    I had an exact need some time back, so the reason why the "Operating System" column in the list view of Azure VMs shows only the generic name of the operating system (e.g. "Windows") is because this is the default behavior of the Azure portal. The list view is designed to show a summary of the VM properties, and the detailed OS information is not included by default.

    I just thought of this workaround, If you need to have the detailed OS information, you can customize it using tags, at the time of creation of VM and even for the existing VMs, you can add a tag with its OS type and add it as a column in the list view from Manage Vire->Edit columns.

    Another workaround is to use PowerShell to get a list of VMs along with its OS details but will be a bit of work.

    If I have answered your query, please click "Accept as answer" as a token of appreciation


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.