Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

How to determine if an image is in use or not using powershell

$
0
0

I got a long list of multiple VM images used for VM creation but now with time the new images have been created and I need to delete the ones which are not in use from the repository. Is there any powershell query to fetch the exact details about the VMImage if it is in use or not.

Using Get-AzureVMImage I am only able to extract the image name its published date and the modified time, but I need to know if the image is in use or not. Any help will be great !!!

Thanks in advance :)


Viewing all articles
Browse latest Browse all 4189

Trending Articles