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?
LVL 1
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
0
 
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.
0
 
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
https://savilltech.com/2018/02/13/checking-the-creation-time-of-an-azure-iaas-vm/
0
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.