PowerShell: Get Azure VMs with no base marketplace image.
Read OriginalThis 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.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser