Link to home
Start Free TrialLog in
Avatar of sara2000
sara2000

asked on

VM creation date

I would like to get the creation date of VM. Is there any Powercli command which will list the creation date or any other method?
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Many scripts available.... rather than cut and paste...

https://communities.vmware.com/thread/397305

http://www.vmspot.com/a-very-simple-powercli-script-to-gather-vm-creation-dates/

vSphere 6.7 has new features to get creation date.
(Get-VM -Name esxi67-01).ExtensionData.Config.createDate

use the above command to gather the vm creation details.
Avatar of sara2000
sara2000

ASKER

I do not get any result or error. It just return to Pscc:\>
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.