Can't ID build date for Azure virtual machines

Hi all.

I'm looking for a one liner or script I can use to pull the creation date of VMs inside of Azure. Any ideas?
Jason ThomasAsked:
Who is Participating?
Binu B KCloud/Azure Infrastructure ConsultantCommented:
VM object seems to be not exposing the creation Time.
The best way could be to query the OS disk creation time
Jason ThomasAuthor Commented:
I did think about that but too many disks to be honest. There doesn't appear to be a simple way to do this which is a bit odd if you ask me.
Binu B KCloud/Azure Infrastructure ConsultantCommented:
I would look for OS disks. There are scripts available to look at OS disk creation time. See one below
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.