Chris Bradshaw 7/3/2023

PowerShell: Get Azure VMs with no base marketplace image.

Read Original

This technical article provides a PowerShell script (Get-AzVm | Where-Object {!($_.StorageProfile.ImageReference)}) to find Azure Virtual Machines that were not deployed from a base Marketplace image. This is useful for identifying VMs that likely resulted from a lift-and-shift migration, as opposed to native Azure deployments. It's a specific DevOps/cloud administration task for Azure environments.

PowerShell: Get Azure VMs with no base marketplace image.

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week