How can I determine the age of a virtual machine?

I saw some Powershell through all the events and find the event of creation, but this method is not ideal, as I understand it he can get confused by the software version upgrades, and the events cannot be kept according to the parameters.

I can get the time of creation of the first snapshot root, for example vm.snapshot.rootSnapshotList [0] .createTime.   This is very useful and coincides with the dates of creation for many machines, but some virtual machines do not have a snapshot root.

Can I do better?

Thank you!

PS: I'm using pyVmomi, but I don't think that is the problem and can switch to another language if necessary.

Yes, if execution of a DB maintenance work it will clean the old events to the database.  So this isn't really a question PyVmomi or SDK, but just the fact of the actual event is cleaned from the DB.

Disc creation timestamp is not a bad idea, which is creative.  I guess that the negative exists, you will not be able to get who created the virtual machine, just at the time of the creation.

If you have control of your virtual machine creation process, you can add tags CustomValue in vSphere for the virtual machine for the creation date.  I had a few customers who have used a daily workflow script or vCO for the events of VMCreated, to transform them into CustomValues (so they don't get carved on a DB maintenance task) and works well (since it is rare that you will have VM events wiped in the period of 24 hours of the script/workflow task).

Tags: VMware

Similar Questions

  • How can access us the Client on a virtual machine on the host ESXi VI?

    Good afternoon, we are evaluating a virtualization solution, our company is small and we want only 3 servers to virtualize, and we want to use one of the virtual machines on the ESXi host, using the Client of VI, so we can use the keyboard and the screen of this server to access virtual machines. Our idea is to use this virtual machine as a workstation.

    Is this possible? or we use VMware server?

    Kind regards

    Cristian Fernández

    It is really not possible. Since the physical ESXi console, you will see only the menus and COS screens.

    Marcelo Soares

    VMWare Certified Professional 310/410

    Master virtualization technology

    Globant Argentina

    Review the allocation of points for "useful" or "right" answers.

  • How can I correct the path to a virtual machine?

    I changed the name of the partition where I keep my VM.  It's on an external drive.  Fusion cannot now find the virtual machine.  He shows me the old path in the VM library and says no dice.  I clicked on file & gt; Open, found the virtual machine (right where it has always been and what it has always been, in the same but renamed, appoints partition) and Fusion asks if I have copied or moved.  I have neither.  I changed the volume name.  What choose?  Help!

    Thank you!

    Select: "I moved it.

  • How can I determine the number of contacts that I have

    How can I determine the number of contacts that I currently have on my iphone

    I don't know of a way on the iPhone, but if you have a Mac, you can go to the Contacts (platform) app and scroll to the bottom where you will find the total.

    Same for iCloud.com on your browser, go to the app, scroll down.

  • How can I determine the size of the files and photo albums?

    How can I determine the size of the files and photo albums?

    It is not really in any way, nor is it necessary-what you trying to accomplish?

    LN

  • How can I determine the version of Toshiba Assist?

    How can I determine the version of attribution that is installed on my Satellite X 200 with Windows Vista Premium SP 1AA. Operating system?

    Go to the control panel and start the option programs and features.
    After full load, you will find listed Toshiba Assist it.
    Click on it and on the bottom, you will find information about the version of publisher, size and product.

  • How can I get the age of Mythology to work on Windows Vista, every time I put the disc in the computer installation screen dosnt pop up and nothing happens

    Moose title: How can I get the age of Mythology to work on windows vista

    every time I put the disc in the computer installation screen dosnt pop up and nothing happens the disc passes just for a bit and stops, and the cursor hangs a bit and I can't get the disk to the computer unless I restart the computer

    Hi rew55545,

    (1) is this problem limited only to the age of Mythology disc?

    (2) what version of the game you are trying to install?

    Method 1: Run the fixit available in the link below and check if that makes a difference

    Your CD or DVD drive cannot read or write media

    http://support.Microsoft.com/mats/cd_dvd_drive_problems/en-us


    Method 2:
    run the fixit available in the link below to resolve any problems with DVD player.

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Method 3:  Select the boot and then check if the problem persists

    Follow step 1 in the link below,
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    Important: n ' forget not to put the computer to a normal startup follow step 7 in the link.

  • ESXi installation before vCenter Server?  How can I get vCenter Server on a virtual machine on ESXi servers?

    My plan for a new vSphere Essentials Plus 5.5 U2a installation is to have the vCenter Server on a virtual machine on the servers of the host on which is installed ESXi.  However, all the installation instructions I found indicate the user to first install the vCenter Server.  How can I get vCenter Server on a virtual machine on ESXi servers?

    Thank you for your help.

    Hi munkyman welcome to communities.

    After you have installed your first ESXi host, open a browser and go to https://your-ESXi-ip-or-FQDN

    You can download the vSphere Client here. It is a windows application that you can install on your desktop. It is often referred to as the "c# Client vSphere" in communities and blog posts, because it is a new implemented in the vCenter Server Web client.

    But for the beginning, install the vSphere Windows Client. You can then launch it and connect directly to your ESXi host. Here you can create your first virtual machine, which can be the VM vCenter (installation of Windows or device, that is you).

    You can use the web client or connect to the Server with the client c# vSphere vCenter VCenter runs.

    Tim

  • How can I determine the model of my air to buy a new drive if my oem drive failed?

    My air drive is dead and I need to order a new drive.  How can I determine my air without the drive model?

    Thank you

    C

    I guess you could always turn inside and read the model number is printed on the bottom...

  • Error-50352 DAQmx: How can I determine the maximum size of the buffer?

    I use a card PCI-6259 with DAQmx (version 9.0.2) library and I get the error "-50352: memory cannot be allocated" whenever I try to make my record too long. Here are a few terms that I found:

    1 channel of AI, 1Msample/s: 7.71 sec max

    1 channel AO, 1Msample/s: 7.71 sec max

    1 channel of AI, 500ksample/s: 15,4 sec max

    2 channels of AI, 500ksample/s: 7.71 sec max

    1 HAVE, AO, 1Msample/s 1-channel: 5.6 sec max

    IF I can't acquire more 7.71 Msamples in a single task, be it in most cases, or AO. When you mix tasks HAVE and AO, this limit seems to be decreasing. This happens with a freshly started application, so I don't think that it is a question of compensation task.

    What is a physical boundary with the device? (And if so, how can I determine this limit?)

    My impression is that the device uses DMA to transfer samples to the system memory, which there are plenty - I can easily allocate more than 400 MB of contiguous memory in the same application.

    Hi Luke,.

    The amount of RAM your system installed?

    What operating system do you use? If it is a 32-bit operating system, using 3 GB or increaseuserva? These parameters have a compromise: they reduce the size of the kernel virtual address space. This increases the probability of DAQmx will succeed to allocate memory but do not reach the mapping in the kernel virtual address space.

    Your system has all the devices with very large memory mapped I/O beaches, such as a video card with a large amount of memory on-board? On a 32-bit operating system, this can reduce the size of the virtual address space of the nucleus by a significant amount.

    Brad

  • How can I determine the RAM bus speed?

    Hello

    I installed the new 4 GB RAM replacing the previously installed 3 GB of RAM. The previous 3 GB of RAM has the 667 MHz bus speed (I found it in the user manual). The new 4 GB of RAM, the seller told me that has the 800 MHz bus speed. Now, I want to be sure that the seller does not deceive me, and he gave me the speed of 800 MHz RAM bus. How can I determine my installed RAM bus speed? My system configuration is the following:

    Windows 7 Ultimate 64 bit

    2.1 GHz Core2Duo

    4 GB OF DDR2 RAM

    Intel GMA 4500MHD

    Model: Acer Aspire 5738

    I have two modules of DDR2 soDIMM, previously, I had a 1 GB DDR2 667 MHz + a 2 GB DDR2 667 MHz RAM = 3 GB DDR2 667 MHz RAM (in my manual of the system provided by Acer)

    Now, after replacing, I have two 2 GB DDR2 800 MHz RAM = 4GBD DDR2 800 MHz RAM (as the salesman told me and I saw written in the package when he was unpacking and installation)

    How can I determine my RAM bus speed and be confirm that I really learned the 800 MHz? Please someone help me with this. Thank you.

    Four ways I see real quick:
    1 - the label on the RAM (assuming that it is there, and this truct you he has not changed it).
    2 - install the CPU-Z.  It will be listed in the memory tab.
    3 - install Belarc Advisor.  It also lists only (as well as much more information on the system.)
    4 take a look at the POSITION of the screen when the system boots - he must view RAM info.

    All the foregoing, guess however that isn't only MHz 800 RAM installed, but that the system is actuallyrunning at 800 MHz.
    Here, CPU - Z is the best choice, because it will give you the actual manufacturer for RAM; You can use it to find the specifications of the manufacturer.

    HTH,
    Chris

    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • How can you determine the absolute path to a NetStream object created dynamically?

    We strive to implement a video captioning with a freeware component, ccforflash. This requires us to provide an absolute path or relative to our NetStream. How can we determine this path in Flash CS5 AS3?

    CCforFlashCS5 documentation:

    2. objects "name and path.

    Type the name and the path.  It is the name of the instance of the object with which CCforFlashAS3 will synchronize. It must be spelled correctly, since CCforFlashAS3 queries the object with this name for the synchronization information to synchronize subtitles. The path must also be included; be compared to the CCforFlashAS3 (i.e. this.parent) component or the absolute path of the main floor of the film (root)".

    I guess I understand your problem and accepts only a great way to identify a path to something compared to doing AS3 AS2.  I'll see if I can raise the interest of someone else in your ad that is a detective better than me.

    But if I can get stoopid for one minute and suggest trying something (I would try it)... If you have access to the code where is instantiated the NetStream object, just after he is given life, assign the instance to a variable, you have in the main timeline and use this variable (and the root timeline or a 'this' - reference database for path requirement) for your CCforFlashCS5 needs.

  • How can I determine the type of image to be used before loading an image?

    I'm developing an application using VB 2005 which measures two 8-bit or 16-bit image files. When I saw the picture, I find that I have to set the type of image the image buffer before playback of the image in it. For example, if I read a 16-bit image in a buffer of 8 bits, the image is truncated. I guess I could read the image in a 16-bit buffer and retype it if the pixel values are less than 255.

    Is there a better way to do it? Can I determine the number of bits of an image before loading in a buffer?

    Thank you!

    Hi Steverino,

    Olivia is incorrect... VDM has a function called GetFileInfo which does just what you want. It only reads the header of the image but does not load the entire image in memory. It will give you various properties such as the bit depth.

    I think that on the new .NET support, there can exist here: NationalInstruments.Vision.Analysis.Algorithms.GetFileInformation.

    Thanks to the ICB and our legacy of .NET support, it's probably a similar name.

    Eric

  • How can I determine the order of firstname and lastname?

    I get the name of the contact with the following code.

    BlackBerryContact contact = ...
    String[] name = contact.getStringArray(Contact.NAME, 0);
    String firstName = name[Contact.NAME_GIVEN];
    String lastName = name[Contact.NAME_FAMILY];
    

    But I can't determine the order - "full name, first name" or "first name, last name.
    With my Bold 9700, it can be configured in the Options > language and text input > name display, but I couldn't find a way to get the setting from java code.

    Please help me.

    There is no API for this setting. If you see as important, you could offer it to your own parameters, otherwise just go with the standard.

  • How can I determine the specified VO is updated or not?

    All the

    There are several of your in my AM and the method this.getDBTransaction () .isDirty () returns the true value once the VO has changed but not validation. How can I understand the specific vo to see if it is replaced. I want to add some customization to the specific vo logic in the beforeCommit() method in AM.

    Gerry,

    There is no direct way to do this for a VO.

    For VO lines, however, you can call getEntities() and loops through the entities returned asking them getEntityState().

    John

Maybe you are looking for

  • BSOD on shutdown/reboot bug check 9f

    I get d BSOD saying DRIVER_POWER_STATE_FAILUREall d minidumps are in given linkI've updated all my drivers for a version more recent but problem still persitsProduct F2C09PA #ACJ number Operating system: Windows 8.1 64bits Report Viewer blue screen:

  • 'Clean' word appearing in a bought the song.

    I bought (3) three songs by the same artist, and in the same album and all of them have the word 'clean' appearing in a rectangular box to the left of the name of the artist.  Does anyone know what or why it is means.

  • Unable to activate Windows XP Professional in my computer

    Install a MEMORY card for more memory, (512 MB) turned on the computer, a message appears saying: we recognize the new hardware and I need to activate Windows. Followed the steps to activate windows. Problem is this;  the activation window when you p

  • My email address has been block. How can I retrieve my e-mail address

    I remember my password. How can I retrieve my e-mail address.Help me, please unblocked my e-mail address or send me the solutionMy email is * address email is removed from the privacy *.Thank you for your help

  • How to save data to a file by NDK.

    Intend to find a way to save the acceleration in a file, but I don't know how to do it. Nobody knows the answer or useful Web site or reference. Thank you