Get-TagAssignment entity includes the names of custom field (Bug?)

Our environment uses several annotations on the VMS CustomAttribute. I noticed that when I use Get-TagAssignment on the virtual machines in our vCenter, the entity object, which should be only an object VM (VirtualMachineImpl), has a name that includes all the majority of the CustomAttribute annotation names. This happens regardless of whether I do anything regarding CustomAttributes or not. I tested on multiple vCenters and multi-instance PowerCLI (all 6.0R3) on different computers with similar behavior. I tried to search and I couldn't find any reference to a bug anywhere.

Also strange that some of the VMS seem to have the name of the computer virtual appears first, then the different names of CustomAttribute. Other virtual machines, seem however to enumerate CustomAttribute appoints first as well as the name of the virtual machine in the end. No apparent reason for the difference.

This looks like a bug, but I want to confirm whether there is something unusual about my environment or if others are able to replicate this.

Steps to reproduce (assuming that the standard modules are loaded):

> Connect-VIServer [vcenterServer]

> $vmTags = get - VM | Get-TagAssignment

> $vmTags

List entity as ' [CustomField1Name] [CustomField2Name]... [CustomFieldnName] [VMName] »

Interestingly, registration $vmTags.Entity.Name will be back in reality than the names themselves (without names CustomAttribute) virtual machine. So, it's still usable for name matching.

If it's something specific to my environment, someone has any ideas on what could be the cause of this?

Confirmed, this is indeed a bug.

The @entity.name of the TagAssignment object property, has all the custom attribute names and the name of the entity.

Tags: VMware

Similar Questions

  • How can I get Mozilla to use the name of the page for the name of the real instead of the URL bookmark when I bookmark a page

    I just noticed that (in comparison to Internet Explorer): in IE, when you preferred a Web page, it uses the actual name of the Web page (for example, for this page, it would be "Ask a Question Firefox Help" as the name of the bookmark), but in Mozilla, it uses the URL as the name of the bookmark. I was wondering if it was possible to change my Mozilla settings so that it uses the name of the Web page as the bookmark name instead of the URL? I hope that everyone understands what I am getting? If anyone can help me, I would really appreciate it. Thank you.

    Firefox uses the tag title for the name of the newly saved bookmark.

    When I bookmark on this forum page I get this for the 'name' of the bookmark.

    How can I get Mozilla to use the name of the page for the name of the real instead of the URL bookmark when I bookmark a page | Firefox Support Forum | Firefox help

  • How to display the names of header fields in the next page in report6i

    How to display the names of header fields repeated in the next page of report6i urgent please...


    When I'm runing report in 1st page that showing only the header in page 2 information header information does not display only records appear. So I want to display the header in 2nd page also information.

    You can help.

    Hello

    Go for the model of report layout and select these elements/objects that do not display on the next page and pressing the F4 key to open the palette of the property and set the property Print object on to All the Pages , then it will appear on all pages.

    -Clément

  • Is it possible NOT to include the name of the document as the root of a peoplesoft JSON document tag?

    I'm consuming a REST service (from documentum) in peopletools 8.53. I have set up my document, message, service and security and can connect to and receive a response from the REST service. I can't fill the response document, however, for two reasons - the peoplesoft document begins with the name of the document that the tag root has no the REST service. In addition, the service REMAINS returns tables brackets and the peoplesoft document seems to accept only braces. What I've read, hooks can be supported in peopletools 8.54 but we will not upgraded our tools of press at the moment.

    Is it possible not to provide or ignore the root of a document of peopelsoft tag? Also, is there a way to structure a document to tables? I can see the whole of the response from the REST service using the GetContentString method message - is the best option to analyze manually through the answer and do not use the document object at all?

    I have the same frustration. One solution is to use a separate library to parse the JSON (something like json.simple). Another solution, I think it's easier, is to use JavaScript, which is included in Java 7 with 8.53 PeopleTools. Here is an example of JavaScript:

    /* Sample JSON data
    [
        {"emplid": "KU0001", "oprid": "HCRUSA_KU0001"},
        {"emplid": "KU0002", "oprid": "HCRUSA_KU0002"},
        {"emplid": "KU0003", "oprid": "HCRUSA_KU0003"}
    ];*/
    
    var result = (function() {
        var CreateRecord = Packages.PeopleSoft.PeopleCode.Func.CreateRecord;
        var Name = Packages.PeopleSoft.PeopleCode.Name;
        var SQLExec = Packages.PeopleSoft.PeopleCode.Func.SQLExec;
    
        var rec = CreateRecord(new Name('RECORD', 'NAA_SCRIPT_TBL'));
    
        var count = 0;
        var json_string;
        var json;
    
        var guid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
            var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8);
            return v.toString(16);
        });
    
        rec.GetField(new Name('FIELD', 'PM_SCRIPT_NAME')).setValue('JSON_TEST_DATA');
        rec.SelectByKey();
        json_string = rec.GetField(new Name('FIELD', 'HTMLAREA')).getValue();
        json = JSON.parse(json_string);
    
        // TODO: iterate over json data and
        json.forEach(function(item, idx) {
            SQLExec("INSERT INTO PS_NAA_TEST_TBL VALUES(:1, :2, :3, SYSTIMESTAMP)", [guid, item.emplid, item.oprid]);
            count += 1;
        });
    
        return "Inserted " + count + " rows";
    
    }());
    

    Here is the JavaScript:

    1. Declares variables that point to PeopleCode functions
    2. Selects JSON data in a database table. You could alternatively fill a JavaScript variable before executing the JavaScript (code below)
    3. Analysis the JSON using JSON JavaScript Analyzer
    4. Traverses the JSON
    5. Using SQLExec in JavaScript to insert some values of the JSON data into PeopleSoft tables
    6. Returns a message describing what happened

    Here are the PeopleCode required to run this JavaScript:

    Local JavaObject & Manager = CreateJavaObject ("javax.script.ScriptEngineManager");

    Engine & local JavaObject = & manager .getEngineByName ("JavaScript");

    Local station &script;

    SQLExec ("SELECT HTMLAREA FROM PS_MY_SCRIPT_TBL WHERE MY_SCRIPT_ID =: 1", "THE_SCRIPT_ID", & script);

    & engine.eval(&script);

    Local chain & result_text = & engine .get ("result") m:System.NET.SocketAddress.ToString ();

  • Include the name of the server in HTML href

    My application generates an email as an alert to an administrator to take action.  I don't want to hardcode the name of the server in the instruction of href HTML such as shown below

    -Include the link to the page of Admin of HIR

    l_body_html: =.

    l_body_html

          || "" < a href = "http://edwprd.dhhs.state.nh.us:7777 / pls/oitp/f?" p = 222:469"> Admin items < /a > '; '.

    I was able to get the current url into an element hidden via a dynamic action on charge using this javascript

    < script type = "text/JavaScript" >

    $s ('P481_URL', window.location.href);

    < /script >

    I then transform this element hidden in a process of anonymous pl/sql block by using this code and set the local variable

    SELECT SUBSTR (: p481_url,)
    1,
    INSTR (: p481_url,)
    ':',
    1,
    (3))
    || "469".

    IN v_sql

    FROM DUAL;

    Who gives this string in the v_url variable

    http://vmdhhsdworad:7777 / pls/oitd/f? p = 103:469

    Is it possible to include this local variable in the href?

    The f

    If you build an email, then you'd this plsql. So when you build your anchor in this tag, simply use host_url it.

       l_body_html :=
             l_body_html
          || 'Admin Items';
    

    Or do you want to say no in plsql?

  • How can I change the information in the fax says he comes. Including the name, number and address

    How can I change the name, address and number on my brother (MFC-490cw)?

    Hello

    What version of Windows is installed on the computer?

    For support on this issue, it is best that you contact Support of brother to get help.
    http://www.brother-USA.com/support/

  • How to write information to complete file including the names of columns in the ftp adapter using the Ombudsman?

    Hi all

    I have a requirement like the reading of the data from the DB table and put it in a location of ftp server using mediator.also file in the ftp location must be in .csv format.

    I am able to get the data from the file in .csv format.

    But here, my requirement is I want the data from the file with the names of columns (i.e. header information).

    Can someone help me in this problem.

    Thanks in advance,

    Divya.

    Hello

    I am able to get the information to complete file with column names.

    I added a code in the ftpadapter xsd file.

    nxsd:version = "NXSD".

    nxsd:stream = "chars".

    nxsd: encoding = "US-ASCII".

    nxsd:hasHeader = 'true '.

    nxsd:headerLines = "1".

    nxsd:headerLinesTerminatedBy = "${eol}.

    nxsd:outboundHeader = "empno, ename, sal, location, status ${eol} '"

    By adding the code above, I'm able to get the full file header information.

    Thank you

  • Including the name of the sender in the form e-mail headers.

    My customer wants to subject line in emails sent by remittances form to enter the name of the sender. that is to say; "New form submission-John Smith" how to adjust the script to make it happen?

    Please see here: https://forums.adobe.com/thread/1880076

    Thank you

    Sanjit

  • Get-VIEvent to find the name of vm?

    Hello

    Is it possible to get the name of the vm get-vievent?

    I'll try to find all the VMS created in the last day (easy), then get - vm... basic idea...

    Get-VIEvent - maxsamples 20000 - Start (Get-Date). AddDays(-1) | where {$_.} GetType(). Name - eq "VmBeingDeployedEvent | VmCreatedEvent | VmRegisteredEvent | VmClonedEvent"} | Select the username, Createduserid, FullFormattedMessage |
    % {get - vm $vm}

    Thanks for the help!

    I don't watch carefully your Where clause, it should be like the code above.

    Please try like this.

  • ID edge include the name of the element prefixed with Stage_.  Why isn't it documented?

    Suppose that there is a symbol with the name 'mySymbol' with a text called 'text' element it contains.  To change the value of the 'text' element, the documentation would he do in this way:


    sym.getSymbol("mySymbol").$("text").html ('new world');

    Using 'Stage_' rating, the text element can also be changed as well:


    $("#Stage_mySymbol_text").html ("new world")

    Note the underscore (_) between "'Stage_mySymbol ' and the element of text." This creates a kind of notation 'dot '. Instead, underscore 'point' is used.  "Stage_mySymbol" represents the symbol "mySymbol" and "_text" the text element it contains.

    For me, on the conceptual level, using "Stage_" is better and seems closer to the syntax of jquery.

    Since it is not mentioned in the documentation, I'm afraid that it could become obsolete.

    Any ideas why "Stage_" notation for IDs is not documented?

    Is there a chance that it will become obsolete?

    Thanks a lot for your answer. You are absolutely right. Apparently, you can't get an answer from Adobe support on this forum so I called 1-800-833-6687 and was able to get help free well as them. Their response has been almost exactly yours. They plan no change in this. If by chance slim there is a change, they do things backward compatible.

    Thanks again,

    Mark

  • Get the names and form field values

    Hi everyone please help me

    I tried the following code, but it returns me the result as ("found no fields")

    I'm not able to reach my pdf here, I tried with a method more evenly, always it returns nothing.

    When I went through the Forum, I heard about LiveCycle Form. If my pdf is Livecycle form based so please give me the code to reterive the form fields names and values,

    method 1:

    ' / / Let's start

    Set WshShell = CreateObject ("Wscript.Shell")
    WshShell.run "c:\F4.pdf Acrobat.exe.
    While not WshShell.AppActivate ("Adobe Acrobat"): 1000 Wscript.Sleep: Wend


    ' / / Set/Get Acrobat objects
    The App value = CreateObject ("AcroExch.App")
    Set AVDoc = App.GetActiveDoc
    Set PDDoc = AVDoc.GetPDDoc
    Define the JSO = PDDoc.GetJSObject

    ' / / Search fields and extract the Name value +.
    txt = «»
    If jso.numFields then
    for i = 0 to jso.numFields-1
    FN = jso.getNthFieldName (i)
    ' msgbox (x)
    the value of f = jso.getField (fn)
    F.value = FV
    txt = txt & fn & "=" & fv & ";"
    next
    MsgBox (txt)
    on the other
    MsgBox ("no fields found")
    end if

    Set AVDOC = Nothing
    Set PDDoc = Nothing
    Define the JSO = Nothing

    Method2:

    MyFile = "C:\output.pdf".
    Set AcroExchApp = CreateObject ("AcroExch.App")
    Set AcExAVDoc = CreateObject ("AcroExch.AVDoc")
    bOK = AcExAVDoc.Open (myFile, "")
    AcExAVDoc.BringToFront

    sMsg = «»

    If (bOK) then
    Set AFormAut = CreateObject ("AFormAut.App")

    If AFormAut.Fields.Count = 0 Then
    sMsg = "No there there no field (s) to read this PDF file"
    On the other
    sMsg = "There are" & AFormAut.Fields.Count & "fields in this PDF document.
    End If


    For every FormField in AFormAut.Fields
    FieldName = FormField.Name
    FieldValue = FormField.Value
    ' MsgBox AFormAut.Fields (Fieldname). Value
    sMsg = sMsg & vbLf & "," & Fieldname & "," & AFormAut.Fields (Fieldname). Value & "," & FormField.IsTerminal
    MsgBox SMsg

    Looks like there is no form field.

    Could you please tell me, how we can attach files in this forum. While I will attach my Pdf file

    You can put the file on acrobat.com ( https://acrobat.com/ ).

  • How to get a list of the names of a query table?

    Hello

    I use Oracle 10 g. I have about 100 SQL queries stored in a table. I would like to know if there is an easy way to retrieve the source tables in each query.
    For example:
    I have a query "SELECT * FROM Table1 t1 INNER JOIN Table2 t2 ON t1.col1 = t2.col1.
    This query, I would automatically get a list of tables:
    Table1:
    Table2

    Thanks in advance for your collaboration.

    Best regards
    Beroetz

    This query, I would automatically get a list of tables:

    Make a plan to explain on the query.

    The name of the object will be in the OBJECT_NAME column in your PLAN_TABLE.

    But the name of the object can be a table or an index so you'll need to join the user_objects this name to see if it is a table or index name.

    You will also need to take into account those moments where a query can be satisfied by only using the index. You can always get the name of the table glancing user_indexes.

  • Including the names of items in the report column headings

    I got a report where I want to use page elements in the column headers. Try to define these using (for example) & P1_ITEM. in the report definition / custom position doesn't seem to work. I can define a simple function from PL/SQL to return the position, but I have a lot of columns and this means I have to define a function for each column name that does not appear elegant v. Am I missing something obvious?
    Thanks Simon

    Hi Simon

    Column attributes

    
    Headings Type:  Column Names  Column Names (InitCap)  Custom  PL/SQL  None 
    

    Choose PL/SQL

    Function that returns the entries from the colon delimited:

    DECLARE
     vHEADINGS VARCHAR2(1000);
    BEGIN
     vHEADINGS := 'NAME:SURNAME:CODE:CELL_NR:&P1_CELL_1.:&P1_CELL_2.:&P1_CELL_3.:' || :XXX || ':' || :YYY || ':' || :ZZZZ || :A || ':' || :B || ':' || :C;
     RETURN vHEADINGS;
    END;
    

    Concerning
    Mel

  • Direct e-mail does not include the "name &#60; e-addrɬ" format of e-mail address if the e-addr is not already in the list of contacts

    After entering the Ctrl-F to save the project email all in composition, if the recipients in the To: / Cc: / Bcc: fields are not already in the list of contacts, the live tool Email would remove the of "name " format, causes the email undeliverable due to unknown recipients. BTW, is there a way to set Live automatic email saves the recipient from the list of contacts if the ' name ; ' e-address format are used to: field?

    See: a question of Hotmail or Windows Live Mail?
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-networking/have-a-Windows-Live-Mail-or-Hotmail-question/8bd31c48-d1a7-49D6-a08c-9069aaeba2e5

  • How to include the name of the vendor and the Version for the appliation

    Hello
    How to include the version and the supplier of the application/product we created. I have sucessfully signed the code file in the mobile, but now I want to include the version and application provider how to do this.

    If you suspect that other people have asked similar questions, then by searching this forum or knowledge base is the right thing to try.

    http://supportforums.BlackBerry.com/T5/Java-development/read-version-from-inside-app/m-p/345845#M638

Maybe you are looking for

  • Received an email from - find my line &lt; support@fmi-apps.me &gt;.

    Hello My iPhone got stolen and I had a series of email to find my iPhone asking me to connect to iCloud in the last hours persuade me to connect from 2 email accounts, click on the link and try to see the place, but I found a little email off the coa

  • Equium M50-164 - Touchpad problem if an AC/DC adapter is connected

    Hello Can anyone help? My Toshiba Equium M50-164 has intermittent problems with the touchpad. Sometimes its fine, sometimes the cursor will jump around the screen, out of control, then comes oneself, the problem goes away when I remove the power cabl

  • How to import images from aperture?

    Hello is it possible to import images from Aperture in Photos? I would like to have a single foto libery for my photos. Today I have a Liberty for the opening and the other for the photos. Would be great I someone knows how to do. Thank you Ralf

  • HP 15: ADMIN PASSWORD BIOS

    my computer has been deleted and I can't install anything cause I can't Gget to the start menu cause he is an admin password I got the System disabled code of 88094375

  • Game Explorer has 653 icons for Everquest 2?

    OK, so my Windows 7 game Explorer has a grand total of 653 icons for Everquest 2.  I tried to remove the registry entries, but whenever I start the game, it seems that an additional icon is added in.  I see it on my laptop (Windows 7, 32bits) and off