We are trying to pull VM Creation Date on one of our AHV Cluster, we also have PC in our environment. Kindly advise if any way to fetch the VM Creation date.
It has been posted on this link , Pls try it and let me know if that doesn't work
https://next.nutanix.com/scripts-32/can-you-get-vm-creation-date-time-via-powershell-28233
What is your AOS version ? and API versioin?
Try this
After downloading the script from My GitHub Reporting Repository or just copy and paste the script from this blog post you need to change the following parameters to make it work in your environment:
- directory=”/Users/magander/Documents/script/REST”
- clusterfqdn=”PE-FQDN”
- user=”admin”
- passwd=”secret”
- pcinuse=”y”
- pcfqdn=”PC-FQDN”
- pcuser=”admin”
- pcpasswd=”secret”The script has been tested on AOS 5.8.-5.8.2 and AHV 20170830.156-166 and from a few versions of MaxOS and a few Linux
Also, Yes, I was trying this http://vcdx56.com/2018/09/nutanix-ahv-vm-reporting-via-rest-api-version-2-1/ background and get the required details i.e. VM Creation Date :)
Though, the tool mentioned in
https://next.nutanix.com/scripts-32/can-you-get-vm-creation-date-time-via-powershell-28233
is very good, want more upgrade version of it.
Thanks
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.