Command to fetch VM images of pricing type: free, BYOL

Nikhil Patil 0 Reputation points
2023-07-05T12:22:43.5066667+00:00

Is there any command to fetch VM image information(offer, publisher, sku) of pricing type: free, bring your own license(BYOL)?

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

1 answer

Sort by: Most helpful
  1. Luke Murray 11,246 Reputation points MVP
    2023-07-05T20:57:51.2033333+00:00

    Hi,

    You can use the following cmdlets:

    • Get-AzVMImagePublisher
    • Get-AzVMImageOffer
    • Get-AzVMImageSku
    • Get-AzVMImage

    Find and use Azure Marketplace VM images with Azure PowerShell

    In terms of the pricing type, there are: Get-AzMarketplaceTerms

    Some of the offer names might also include BYOL, which could be filtered., the trick would be some of the VMs will have applications, that may not be directly licensed with Azure support, I found this:

    User's image

    Reference: https://github.com/MicrosoftDocs/azure-docs/issues/95134

    The BYOL actually had 'Veeam' as the publisher, where the BYOL had canonical - it would be referenced, with the cmdlets listed above, to see if other images are similar.

    0 comments No comments

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.