How to create an additional column for the description of the virtual computer object?

Hi all

I would like to know if it is possible to add a column more in the description of VMware vsphere, for the moment we have column / field called 'Notes' in which we can add our comments on a particular virtual machine / items.

I wanted to add a column called the backup status, is it possible to add it to the database of the VM? which can be edited client VSphere.

Any ideas would be greatly appreciated.

Thank you

AWT

You can add fields for virtual machines.

Click on a virtual machine.

Then, go to the menu Manager

Choose custom attributes.

André

Tags: VMware

Similar Questions

  • VM Variable for the virtual computer object

    Hello

    I am connected to multiple vcenters where we have a few VM objects that have the same name (no duplicates in the vcenter even).

    and I need to run a vm - get when you are connected to the 2 vcenters and store that in a variable $vms

    It is always the case for virtual machines with the same name that if a virtual machine is running in a vcenter, it is turned off in the other vcenter. (DR)

    for virtual machines in this case, I need my variable to store the computer object virtual that is powered AND ignores the engine off... for other virtual machines, I need to power on and power off power vms to be included.

    Here's what I do, but it doesn't work

    $vms = (get - vm |) {ForEach-Object

    If ($_.name - eq $null) {}

    $_ = ($_ |  (Where-Object {$_.powerstate-eq "réceptrices"})} else {$_}

    })

    Hello, max2001-

    How about something like the following:

    ## get all VMs from all connect vCenters, and group them by name$arrAllVMs_grouped = Get-VM | Group-Object Name
    
    $arrDesiredVMs = @()## for any group of VMs where there is more than one (2, presumably), only return the PoweredOn VM in the group$arrDesiredVMs = $arrAllVMs_grouped | ?{$_.Count -gt 1} | %{$_.Group | ?{$_.PowerState -eq "PoweredOn"}}## and for the groups of VMs where there is only one VM in the group, add that VM to the DesiredVMs array$arrDesiredVMs += $arrAllVMs_grouped | ?{$_.Count -eq 1} | %{$_.Group}
    

    Who will be:

    1. get all virtual machines and group by name
    2. groups of virtual machines where there is more than one, just take those who are in the PowerState PoweredOn
    3. and, grab all the VMS are groups of count 1 (named unique VMs), without regard to their PowerState

    What to do for you?

  • After the Virtual Machine is hot migrated lose the reference to the virtual computer object (VMware.Vim.VirtualMachine)

    Hello

    In my VB.Net application, I retrieve the virtual computer object (VMware.Vim.VirtualMachine) through scripting Powershell VI.

    If the Virtual Machine is migrated to another host (hotmigrate) I receive an event (VMware.Vim.VmMigratedEvent), which also holds the moref of the Virtual Machine. I tried to use the updateview method to refresh the virtual computer object but failed with an error message stating that the object could not be found, or never existed.

    I also tried to recover the virtual computer object again, throug the method Client.GetView and the moref returned by the event, but the same error message.

    How can I get my hands on the virtual computer object or update after migration to another host takes place. I have to get it back again? It would be great if I could do it somhow with information from moref I hold the event!

    Any help is appreciated!

    Concerning

    Manfred

    Sorry, but I can only show you how to do this in PowerShell.

    I use the purpose of the task to get to the prompt MoRef.

    Here's how:

    $vmName = 
    $tgtHost = 
    $tgtPool = 
    
    $vm = Get-VM $vmName | Get-View
    $poolMoRef = (Get-ResourcePool $tgtPool | Get-View).MoRef
    $esxMoRef = (Get-VMHost $tgtHost | Get-View).MoRef
    
    $task= Get-View ($vm.MigrateVM_Task($poolMoRef, $esxMoRef, "lowPriority", "poweredOn"))
    
    while($task.Info.State -eq "running" -or $task.Info.State -eq "queuing"){
      $task.UpdateViewData()
    }
    
    $vmImpl = Get-VIObjectByVIView -MORef $task.Info.Entity
    

    I don't know how you get at the VmMigratedEvent event, but the MoRef in there is pointing to the correct prompt.

    In the following script, I extracted all the events related to the task of vMigrate immediately after the vMigrate task finished

    function Print-VmName{
         param($event)
    
         $MoRef = New-Object VMware.Vim.ManagedObjectReference
         $MoRef.Type = $event.vm.vm.type
         $MoRef.Value = $event.vm.vm.Value
         $vm = Get-View $MoRef
         Write-Host $vm.Name
    }
    
    $events = Get-VIEvent -Start (Get-Date).addminutes(-15)
    $events | % {
         $event = $_
         $eventType = $_.GetType().Name
         switch ($eventType){
              "VmMigratedEvent" {
                   $eventType
                   Print-VmName $event
              }
              "VmEmigratingEvent"{
                   $eventType
                   Print-VmName $event
              }
              "VmBeingHotMigratedEvent" {
                   $eventType
                   Print-VmName $event
              }
              "TaskEvent" {
                   $eventType
                   Print-VmName $event
              }
         }
    }
    
  • How to create my electronic signature for the first time

    How to create my electronic signature for the first time

    Hi debbieh62171891,

    You can fill feature & signature to create a Signature in Adobe Reader. If you want to create a Digital Signature using Adobe Reader you must then a PDF form with signature inside and drive field expanded licence fees. In this case, when you click the signature field it will take you with the process of creating a Digital Signature.

    Thank you

    Abhishek

  • Cannot save settings: unable to create a configuration file for the required configuration object

    When I try to open the application in the administrator account it say - could not save the settings: unable to create a configuration file for the required configuration object

    Thanks for the reply.i think that a virus changed I scan my computer and discovered C:\users\jason\AppData\local\temp\low\temporary internet files\content. IE5\TLIFXGRH\ why is Task Manager disabled people [1]

  • I have a column with two values, separated by a space, in each line. How to create 2 new columns with the first value in a column, and the second value in another column?

    I have a column with two values, separated by a space, in each line. How do I create 2 new columns with the first value in one column and the second value in another column?

    Add two new columns after than the original with space separated values column.

    Select cell B1 and type (or copy and paste it here) the formula:

    = IF (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    shortcut for this is:

    B1 = if (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    C1 = if (Len (a1) > 0, Member SUBSTITUTE (A1, B1 & "", ""), "")

    or

    the formula of the C1 could also be:

    = IF (Len (a1) > 0, RIGHT (A1, LEN (A1) −FIND ("", A1)), "")

    Select cells B1 and C1, copy

    Select cells B1 at the end of the C column, paste

  • How to tie two additional monitors for the new laptop Alienware 15 for the purpose of the game.

    So Im wondering how I'd go on the attachment of two additional monitors for the new laptop Alienware 15 for the purpose of the game. I hope no lag between the monitors. Is chaining possible? If it is still possible that would have my monitors need connections?

    Yes.

    Yes.

    N °

    N °

    If that's enough?

  • How to create a status column in the table

    Hello everyone

    I am trying to create a column of the table status in frontview Panel. I enclose a picture with her to say clearly what I say.plz tell me how to create the active status column in the table.

    I want to show green for safety stock and red for safety stock below.


  • Question about how to calculate an additional column in the query result.

    Hello PL/SQL gurus and experts.

    I use Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64-bit Production version


    Currently, I have the data in the following manner-
    drop table T2;
    create table T2(Year, MastTot, BechTot, Tot) as select
    '2008', '20000', '450000', '470000' from dual union all select
    '2008', '50000', '324000', '374000'  from DUAL union all select
    '2009', '25000', '450000', '475000'  from dual union all select
    '2009', '250000', '324000', '574000' from DUAL union all select
    '2010', '120000', '450000', '570000' from dual union all select
    '2010', '52000', '324000', '376000'  from DUAL union all select
    '2011', '220000', '450000', '670000' from dual union all select
    '2011', '52000', '324000', '376000'  from DUAL ;
    I want that data to present the following year (production).
    Year     MastTot     %Change     BechTot     %Change     Tot     %Change     %Total
    2009     275000     292.86     774000     0     1049000     24.29     27
    2010     172000     -37.45     774000     0     946000     -9.82     24.35
    2011     272000     58.14     774000     0     1046000     10.57     26.92
    Total     789000     313.54     3096000     0     3885000     25.04     78.28
    I use the following sql query-
    select decode(grouping(Year), 0, Year, 'Total') Year,
           To_Char(sum(MastTot), '999,999,999,999,999,999,999.99')  "MastTot",
           To_Char(sum(BechTot), '999,999,999,999,999,999,999.99')  "BechTot",
           To_Char(sum(Tot), '999,999,999,999,999,999,999.99')  "Tot",
           round((sum(Tot)/nullif(max(total_amount),0)) * 100, 2) "%Total"
      From
    (
    select Year,
           sum(MastTot) MastTot,
           sum(BechTot) BechTot,
           sum(Tot) Tot,
           SUM(Tot) over() total_amount
      From t2
    group by Year,Tot
    )
    where Year>'2008'
     group by grouping sets((Year),())
    order by Year
    But I am not able to read the % change column. Kindly help me with this.
    All the efforts and assistance in this regard is very appericated and I will be thankful to you...

    user555994 wrote:
    Thanks for the reply JAC,

    you are making reference to the line in the code

    round((sum(Tot)/nullif(max(total_amount),0)) * 100, 2) "%Total"
    

    Here, I'm looking for the Total % against the maximum value of the tot...

    SQL> with t
      2  as (
      3  select year,masttot,lag(masttot) over(order by year) prevm,
      4      BechTot,lag(BechTot) over(order by year) prevb,
      5      tot,lag(Tot) over(order by year) prevt,
      6      sum(tot) over(order by null) sm_t
      7  from(
      8  select Year,
      9         sum(MastTot) MastTot,
     10         sum(BechTot) BechTot,
     11         sum(Tot) Tot
     12  From t2
     13  group by Year
     14   ))
     15  select year,sum(masttot) masttot,
     16     sum(((masttot-prevm)/prevm)*100) Perc_m,
     17         sum(BechTot) bechtot,
     18         sum(((BechTot-prevb)/prevb)*100) Perc_b,
     19         sum(tot) tot,sum(((tot-prevt)/prevt)*100) Perc_t,
     20         sum((tot/sm_t)*100)  perc_total
     21  from t
     22  where year > 2008
     23  group by rollup(year);
    
          YEAR    MASTTOT     PERC_M    BECHTOT     PERC_B        TOT     PERC_T PERC_TOTAL
    ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
          2009     275000 292.857143     774000          0    1049000 24.2890995  27.001287
          2010     172000 -37.454545     774000          0     946000 -9.8188751 24.3500644
          2011     272000 58.1395349     774000          0    1046000 10.5708245 26.9240669
                   719000 313.542132    2322000          0    3041000 25.0410489 78.2754183
    
  • How to create a page "administrator" for the management of web site with muse?

    Hi people from adobe, I am writing because I have a problem and hope you can help me!

    I created a website with muse, but now I have need a page "administrator" for download rapid photos in the Gallery of the site (like CMS) section, can I create with adobe muse or will I achieve a personal PHP page?

    PS I'm sorry for my terrible English and thank you for the help.

    Francesco M.

    You cannot create any dynamic stuff with just muse. You really need to use PHP (or other server languages) and one database.

    Mylenium

  • How to create a validation only for the lines that are created in a table

    Hi all

    I have a simple question. Is it possible to create a validation in a table that fires only for created?

    There is a possibility at the APEX 4.1 choose two types of "* execution scope *" is first of all ' * created and updated lines * "and the second is" * all subject lines. "

    Thanks in advance!

    Kind regards

    Jiri

    Hello Jiri,

    > Is it possible to create a validation in a table that fires only for created?

    You can still use the field lines created and updated the and use a PL/SQL Expression condition of:

    :APEX$ROW_STATUS = 'C'
    

    You will also need to change the Condition run for each line.

    It will be useful,
    Arie.

    -------------------------------------------------------
    Be sure to mark the appropriate fix/useful messages. For the long term, it will benefit us all.

  • How to create a random choice for the buttons on stage?

    Flash CS4, AS2, beginner. I have 10 pictures on the timeline named pic1, pic2, pic3... etc. To make a button on the phase switch for a certain image, let's say pic1, I cliquer click with the right button of the mouse, open the window of action and choose: on gotoAndPlay ("Pic1") (liberation)...; What commands should select in the window for action to make the button switch to one of the 10 photos at random?

    Thank you very much in advance for your help!

    Thomas

    No matter what the code help could do, you should not place the code 'on' objects.  Assign an instance name to the button and place the code in the timeline panel.  Instance name of the button allows you to target, as in...

    btnName.onRelease = pickPic;

    Place image tags in a table as strings and the Math.random()/Math.floor () function allows to choose randomly one of them...

    var labels: Array = new Array ("Pic1", "Pic2", etc... ")

    function pickPic() {}

    gotoAndPlay (labels [Math.floor (Math.random () * labels.length)])

    }

  • How to create a default value for the timestamp column?

    I am trying to create a table with a default value to a timestamp column, can it be done?


    CREATE TABLE matbl
    (
    Default TIMESTAMP WITH time ZONE SCHEDULE date FutureDateTime ' 23:23:59.000 2999-12-31'
    )

    incorrect data type. try rather timestamp with time zone.

    CREATE TABLE myTbl
    (
    FutureDateTime TIMESTAMP WITH TIME ZONE  default to_timestamp ('2999-12-31 23:23:59.000','yyyy-mm-dd hh24:mi:ss.ff')
    )
    
  • How to connect an additional monitor for the gateway all-in-one?

    Hello you all, I have a question I hope you a lot more smarter computer people can help me with. I have a friend who has a gateway all in one model #-ZX4931. It has a VGA port on the back. It has been also updated for Windows 10. I'm house sitting and dog looking for her in a few weeks

    I want to plug the additional monitor which by the way, it's a Dell (sorry) to work on a project I'am doing right now. I try to use the screen that she has on the All In One and I didn't like how my project came out looking

    I see on the back of its All In One, it has a VGA port. I Google several times and different words from Google, which told me that you cannot plug an additional external monitor for all in one PC, so I'm confused as to why there is a VGA port, if you couldn't plug the external monitor

    in any case, can someone please help me and give me details on how to connect an external monitor, in addition to its gateway all in one model #-ZX4931

    Looking at your specific model, I think you can try to connect an external monitor via the VGA port.

    Once you have connected the secondary monitor using the VGA port, press control + p and main Windows logo if you are able to extend or clone your desktop.

  • How to create indexes on columns all - the flames begin

    Yes read you it correctly.

    Is it possible to create a procedure that will create an index on each column in a table without specifying the column names?

    index_all_cols exec ('xxx', 'parallel');

    You ask why? There is no reason that I can give you that will quench the flames coming my way. But, finally, it's because (1) I am tired of using excel to generate create statements of the index and (2) I want the speed at the expense of everything else, (3) I do not use a mouse... I know, I would hate first.

    Jason

    Oracle 10g

    ... at least I didn't to index every column in every table in my diagram!

    Had, it works!

    CREATE OR REPLACE PROCEDURE index_all_cols (pTABLENAME IN varchar2)

    IS

    CURSOR c1 IS SELECT distinct COLUMN_NAME FROM USER_TAB_COLS WHERE TABLE_NAME = pTABLENAME;

    BEGIN

    FOR c IN c1 LOOP

    BEGIN EXECUTE IMMEDIATE 'create index X_ "| c.COLUMN_NAME |' WE ' | pTABLENAME | ' ('| c.COLUMN_NAME |') parallel logging ";

    -EXCEPTION WHILE some other THEN NULL;

    END;

    END LOOP;

    COMMIT;

    END index_all_cols;

    /

    ... and not even a flame

Maybe you are looking for