Retrieve the netboot GUID value from a Hyper-V vm

I've looked through the pshyperv modules but can't find what I need there so I am hoping that you all can help me.  After creating a new VM, I need to assign it's boot GUID to the new pre-staged computer account.  This is NOT the vm GUID, it's
the value shown on the image below.  I've tried using the MAC address which is much easier to get, except that apparently Microsoft doesn't allocate the dynamic MAC address until the VM is turned on the first time (dumb).  Since I am basically going
to be deploying hundreds of theses I *have* to be able to prestage this stuff on the fly. And partially booting, then pausing, then reading, then stopping, etc... won't work for me.  Especially since I am already going to be waiting on AD replication
for these changes.  So instead I need to get that GUID, but I can't find anywhere that will reveal it.  Thoughts?

Hi,
In the following blog, it mentioned “In order to get this IP address you need the latest integration services installed inside the virtual machine”. So it seems that there is no way to get the related information from virtual machine before you install
Integration Services within it.
How to get the IP address of a virtual machine from Hyper-V
http://blogs.technet.com/b/m2/archive/2010/07/29/how-to-get-the-ip-address-of-a-virtual-machine-from-hyper-v.aspx
By the way, if you open Virtual Network Manager in Hyper-V Manager, you will be able to find each Hyper-V has a MAC Address Range like the following screenshot. So as a workaround, you can get a list of MAC addresses based on the MAC Address Range instead
of looking MAC address on each virtual machine.
Vincent Hu
TechNet Community Support

Similar Messages

  • How to retrieve the data/property value from portalapp.xml

    Hi I would like to retrive the some common data from the portalapp.xml file
    <application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
          </application-config>
      <components>
        <component name="DynZMMGR">
          <component-config>
            <property name="ClassName" value="DynZMMGR"/>
            <property name="SecurityZone" value="DynZMMGR/high_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/DynJspZMMGR.jsp"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="dynpagedel">
          <component-config>
            <property name="ClassName" value="dynpagedel"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="VARIANTLIST">
          <component-config>
            <property name="ClassName" value="com.sap.ep.r3rpts.VARIANTLIST"/>
            <property name="SecurityZone" value="com.sap.ep.r3rpts.VARIANTLIST/high_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="DynZMM33">
          <component-config>
            <property name="ClassName" value="DynZMM33"/>
            <property name="SecurityZone" value="DynZMM33/high_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/DynJspZMM33.jsp"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    The above is my portalapp.xml file .
    I want to retrieve the common data across the component.
    These  datas are common across the components .
    I kmow by putting the data inside the
    component name="DynZMM33">
          <component-config>
            <property name="ClassName" value="DynZMM33"/>
            <property name="SecurityZone" value="DynZMM33/high_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/DynJspZMM33.jsp"/>
          </component-config>
    <component-profile>
       <property name="UserID" value="userid"/>
       <property name="password" value="password"/>
    </component-profile>
    </component>
    this becoms component specific ... which I can retriev the by using
    String ClientVal = request.getComponentContext().getProfile().getProperty("Client");
    in doContent()  method ..
    But this way i have to specify these properties in all the component.. which is repetetive in nature.
    I would rather put it in common location and want to retrieve the info from the portalapp.xml...
    How to achieve this
    I am using "AbstractPortalComponent"  .
    thanks
    pkiran

    Hi Prashanth,
    see Reading another iView's profile personalized values and Validate PCD URI
    Anyhow, maybe you should implement a service which returns the values (from the service profile). This would be more clean for accessing global values.
    Hope it helps
    Detlev

  • How can we read the screen field values from the report selection screen wi

    Hi expart,
    How can we read the screen field values from the report selection screen with out having an ENTER button pressed  .
    Regards
    Razz

    use this code...
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
    **Read the Values of the SCREEN FIELDs
    CALL FUNCTION 'DYNP_VALUES_READ'

  • Access the X-axis value from Flash Chart

    Hi,
    Is there a way I can access the X-axis value from Flash Chart to populate a report in another page? My X-axis is not a direct column in the table it is computed in the query.
    X-axis is MON-YEAR computed from the Begin_Date column. I want to capture the MON-YEAR clicked by the user to populate a report for that Mon-Year.
    Here is my chart SQL.
    select 'f?p=&APP_ID.:18:&SESSION.:::::::' link,
    to_char( "VIEW"."BEGIN_DATE",'MON-YYYY') label,
    sum(decode(TYPE_Id,2,Value,0)) "Value-1",
    sum(decode(TYPE_Id,1,Value,0)) "Value-2"
    from "VIEW" where to_char( "VIEW"."BEGIN_DATE",'MON-YYYY')= to_Char(sysdate-100, 'MON-YYYY')
    group by to_char( "VIEW"."BEGIN_DATE",'MON-YYYY'),
    to_char( "VIEW"."BEGIN_DATE",'YYYY')
    order by to_char( "VIEW"."BEGIN_DATE",'YYYY')
    Any suggestions?
    Thanks

    Thanks Marco..
    I did the same thing. I found this info at Re: Charts and links
    in the forum.
    Thanks for the help again.
    Nimmi

  • New install of SQL 2014 Std MSDN. Get "The SQL Server product key is not valid. To proceed, re-enter the product key values from the Certificate of Authenticity (COA) or SQL Server packaging."

    Trying to install a new version of SQL 2014 Std 64 or x86. Installing on Windows 8.1Pro 64bit machine.
    I get:
    "TITLE: SQL Server Setup failure.
    SQL Server Setup has encountered the following error:
    The SQL Server product key is not valid. To proceed, re-enter the product key values from the Certificate of Authenticity (COA) or SQL Server packaging.
    Error code 0x858C0017."
    I looked at the summary log and that is the only error.
    I made sure there were no other instances of SQL on this machine. Uninstalled all VS2013 and sql instances just in case. IF there is somewhere to check if a previous version or license is causing the issue, i would be glad to check.
    Any help would be appreciated.

    Hi,
    Please read this thread with similar issue
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/bdd94577-515c-49fa-be44-008eacece057/installing-sql-server-2012-on-a-new-vm-error-code-0x858c0017?forum=sqlsetupandupgrade
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

  • Fm or metod that retrieve the lock object name from the table name

    HI ALL,
    there is FM or method that retrieve the lock object name from the table name ?
    Best regards
    Nina

    CALL FUNCTION 'ENQUEUE_REPORT'            
    EXPORTING                                
    gclient                     = sy-mandt   
    gname                       = 'RCTMV'         "Table Name
      GTARG                       = ' '       
      GUNAME                      = SY-UNAME  
    IMPORTING                                 
      number                      =           
      SUBRC                       =           
      TABLES                                  
        enq                         =  lt_seqg3
    EXCEPTIONS                               
       communication_failure       = 1        
       system_failure              = 2        
       OTHERS                      = 3

  • HT1766 how to retrieve the back up files from the itunes

    how to retrieve the back up files from the itunes

    What are you trying to do...extract data from your backup? If so, you need something like this:
    http://www.iphonebackupextractor.com/

  • "Retrieve the COM class factory from component with CLSID {623F456-...etc}

    When i try to run on Window server 2008 R2 it gives following error
    "Retrieve the COM class factory from component with CLSID {623F456-...etc} failed due to the followi
    i developed application in xp  it run fine

    Hi
    When you make an ard select the target CPU x86 rather then any CPU in advanced compile options(Properties-> Compile-> Advance Compile Options)
    hope it helps
    Regards
    Rupinder

  • HT201272 I lost my itunes library, now i tried to retrieve the music i purchased from apple and i am only getting part of it!

    Cant retrieve the music i purchased from apple videos etc,
    I called cust service she want me to pay 49 us dollars for a tech support I told her i dont need tech support i do need my files that i purchased available for download, she insisted I hang up.
    I need help from you guys, I am student full time so no extra cash to pay for apple bills.
    regards

    Sue,
    I recommend an external drive to maintain your music.  All your purchases are held in iCloud...so redownloading should be easy.  Also, Home sharing is a great way to transfer to a new computer, but in the case of hard drive failure your options are limited.  Home sharing is specifically for transferring to another pc.  Good luck!

  • Retrive the second-highest value from the table using query.

    Hi,
    I am using Oracle 8i...
    I have to retrieve the second-highest salary from the table...for this I need to write a SQL..Can anybody please help me to figure out this problem..Thanks in advance..
    smitha

    Using analytic functions
    SELECT *
    FROM (SELECT other_columns,DENSE_RANK() OVER(ORDER BY salary DESC) sal_rank
          FROM table)
    WHERE sal_rank = 2
    Using Order by and rownum
    SELECT *
    FROM (SELECT other_columns,rownum sal_rank
          FROM (SELECT other_columns,salary
                FROM table
                ORDER BY salary DESC))
    WHERE sal_rank = 2TTFN
    John

  • Help required in retrieving the category1 & category2 values for CRM SR

    Hi Friends,
    We are currently working on a requirement where in we need to update the status of Service request having the external reference nbr that is coming from back end ECC System. This number is already stored in the CRM Service request document. The external reference field is added through AET Tool.
    The backend application calls our CRM RFC FM and passes the external reference nbr as input parameter. We are trying to query the CRMD_ORDERADM_H table with the external reference number  and get the list of all service requests having this number. Now we need to select only those service requests having the category1 as Order and category2 as block.
    We have found the table CRMD_SRV_SUBJECT but not able to find the link table that connects the GUID of service request with GUID of CRMD_SRV_SUBJECT.
    Any pointers on this would be of great help.
    Thanks,
    Udaya

    Hello Udaya,
    Welcome to Categories Search. I also faced this issue to retrieve all levels of categories for a Service Request.
    I am glad I can share with you how this was resolved.
    Use the following steps:
    1. Pass SR GUID in field GUID of table CRMV_REPORT_SUBJ and get KATALOGART, CODEGRUPPE and CODE field values in lv_catalog, lv_codegrp and lv_code.
    2. Now you need to concatenate these 3 fields values carefully like this:
    CONCATENATE lv_catelog lv_codegrp '    ' lv_code into lv_category1.
    *Remember there are 4 spaces between lv_codegrp and lv_code.*
    3. Now pass this lv_category1 in field OBJEXT in table CRMC_ERMS_CAT_OK and get OBJGUID in field lv_objguid.
    4. Pass this lv_objguid in field OBJ_GUID and *LNK_TYPE = 'IS_CODE'* in table CRMC_ERMS_CAT_LN and get value of CAT_GUID in lv_cat_guid.
    5. Pass this lv_cat_guid in field CAT_GUID in table CRMC_ERMS_CAT_CA and get value of CAT_ID in field lv_cat_text.
    Remember this lv_cat_text is the text value of your last level of category of SR.
    6. To get its upper  cateogry level value, simple use table CRMC_ERMS_CAT_HI and get parent guid value and pass this as CAT_GUID again in table CRMC_ERMS_CAT_CA to get its text.
    Alternatively, you can also use class method cl_crm_ml_category_util=>get_parse_all to get all levels of categories.
    I hope this helps.
    Thanks
    Vishal
    Edited by: Vishal Kesar on Jul 30, 2010 5:12 PM

  • How to pass the check box values from one view to another view

    Hi Experts,
    I have a selection screen view which consists of check boxes.
    WBS System status.
    Release                      Completed                  Closed as 3 check boxes.
    Note : The above ones are check boxes.
    Based on the selection made by the user, those values needs to be passed to second view which retrieves the data and
    displays the data accordingly.
    At the same time if the user does not make any selection, then WBS System status should contain Released, Completed and Closed values and that needs to be sent to Second view.
    Kindly advise.
    Regards,
    Chitrasen

    hi ,
    make a attribute of type WDY_BOOLEAN to achieve this functionality
    u need to follow these steps :
    1 in side ur component controller , under the ATTRIBUTES tab , make 3 attributes say attr1 , attr2 and attr3 of type WDY_BOOLEAN
    2 create a context node , cn_check and 3 context attribute ca_check1 , ca_check2 and ca_check3 in ur first view for
    release , complete and close check boxes
    3 inside the DOINIT of ur 1st view , set the attributes attr1 , attr2 and attr3 to blank
    wd_comp_controller->attr1 = ' '
    wd_comp_controller->attr2 = ' '
    wd_comp_controller->attr3 = ' '
    4 inside the method , where u r validating , if the check boxes are checked or not , read the attributes ca_check1 , ca_check2 and
    ca_check3
      DATA lo_nd_cn_check TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_check TYPE REF TO if_wd_context_element.
        DATA ls_cn_check TYPE wd_this->element_cn_check.
        DATA lv_ca_check1 LIKE ls_cn_check-ca_check1.
    *   navigate from <CONTEXT> to <CN_CHECK> via lead selection
        lo_nd_cn_check = wd_context->get_child_node( name = wd_this->wdctx_cn_check ).
    *   get element via lead selection
        lo_el_cn_check = lo_nd_cn_check->get_element(  ).
    *   get single attribute
        lo_el_cn_check->get_attribute(
          EXPORTING
            name =  `CA_CHECK`
          IMPORTING
            value = lv_ca_check1 ).
    IF lv_ca_check1 EQ 'X' .
    wd_comp_controller->attr1 = ' X'
    wd_comp_controller->attr2 = 'X '
    wd_comp_controller->attr3 = ' X'

  • How to programmatically retrieve the real field name from a view object ?

    Dear all,
    when I map a business component (a database table) to a view, the fields are automatically converted by JDeveloper, for example, a field named 'user_id' in the oracle table definition, becomes 'userid' in the view.
    The question: how can I retrieve the right table column name from within a backing bean ? Please explain also what should I bind and how; should I use an iterator ?
    Another more: since we can change the label of a field on a view, how can then I get the mapping between the column name on the view and the column name on the table in the database ?
    Thanks in advance,
    Sergio.

    Hi Timo,
    many thanks for your answer.
    The rest of my question: you know we can drop a view from the DataControls onto a ADF page, with each field of the table having a label.
    That label is initially set like the internal table field name, so for instance, if user_id is the real table field name, userid will be the (by JDeveloper) internal renamed table field name, and the label would be userid too.
    If I then change the label text to, for example, "myUserid", the question is: how can I know which real table field does "myUserid" point to ?
    In other words, when my form is submitted, I want to know which field name has been changed and prepare an update sql in a bean.
    For this purpose I bind each view field to a validator function in the bean, and collect al the pairs "label_name + submitted value" in an hash table.
    Now inorder to build up that update query, I need the mapping between the label_name ("myUserid") and the real table field name ("user_id"). The question: how to map the label to the real table field name ?
    By the way, I'm using JDeveloper 11g rel. 2.
    Regards,
    Sergio.

  • How to retrieve the Last sequence value of a sequence ?

    Can anybody help me out regarding how to retrieve the last executed number or value of a sequence ? As dba_sequence.last_number does not show the original picture of that last value ?

    Rajesh Lathwal wrote:
    Last Number Selected From Sequence :
    SELECT sequence_name, last_number
    FROM user_sequences;That's wrong, this is taking the CACHE in account :
    SQL> create sequence seq ;
    Sequence created.
    SQL> select seq.nextval from dual;
       NEXTVAL
             1
    SQL> SELECT sequence_name, last_number
      2  FROM user_sequences where sequence_name='SEQ';
    SEQUENCE_NAME                  LAST_NUMBER
    SEQ                                     21
    SQL> select seq.currval from dual;
       CURRVAL
             1
    SQL>Nicolas.

  • Retirval problem for the old-new values from cdhdr,cdpos

    hi all.
    i want to get the old and new values from cdhdr and cdpos table but not getting the output as the if condition of read statement" if i_cdhdr-objectid = itemp-kunnr." is not getting executed.what could be the mistake and how can i resolve.plz suggest
    loop at it_knb1.
    itemp-kunnr = it_knb1-kunnr.
    itemp-kunnr1 = it_knb1-kunnr.
    append itemp.
    endloop.
    if not itemp[] is initial.
    select * from cdhdr
    into table i_cdhdr
    for all entries in itemp
    where OBJECTCLAS = 'DEBI'
    and   OBJECTID   = itemp-kunnr
    and  tcode      = 'VD02'.
    select * from cdhdr
    appending table i_cdhdr
    for all entries in itemp
    where OBJECTCLAS = 'DEBI'
    and   OBJECTID   = itemp-kunnr
    and   tcode      = 'XD02'.
    endif.
    if not i_cdhdr[]  is initial.
    select * from cdpos into table i_cdpos
    for all entries in i_cdhdr
    where OBJECTCLAS = i_cdhdr-OBJECTCLAS
    and   OBJECTID   = i_cdhdr-OBJECTID
    and   TABNAME    = 'KNVV'
    and   (  FNAME = 'ZTERM' ).
    endif.
    loop at it_knb1 where kunnr = it_kna1-kunnr.
    read table itemp with key kunnr1  = it_knb1-kunnr.
    if sy-subrc = 0.
    loop at i_cdhdr.
    if i_cdhdr-objectid = itemp-kunnr.
    it_final-username = i_cdhdr-username.
    clear i_cdpos.
    read table i_cdpos with key OBJECTCLAS = i_cdhdr-OBJECTCLAS
                                 OBJECTID   = i_cdhdr-OBJECTID
                                 FNAME = 'ZTERM'.
    if sy-subrc = 0.
        it_final-zterm_old  = i_cdpos-value_old.
        it_final-zterm_new  = i_cdpos-value_new.
      endif.
    endif.
    endloop.
    endif.
    endloop.

    Hi Tanisha,
    BEtter to loop everything cdhdr and CDPOS
    U can do one thing.
    Use CHANGEDOCUMENT_READ_HEDAER to get the data from CDHDR.
    SUE FM CHANGEDOCUMENT_READ_POSTIONS.
    to get the data from the each change number.
    then u can retrieve the data as u want.
    This will avoid confusion.
    U can get the correct data.
    Thanks

Maybe you are looking for

  • If you've changed your startup options on mac to start in windows, how do you fix and go back to mac on startup?

    if you've changed your startup options on mac to start in windows, how do you fix and go back to mac. I can't get my mac to switch back to mac, it is like stuck in widows mode, I have tried holding down the options key upon start up and that did not

  • SCSI and MacBook Pros

    Is there an adapter option to allow me to connect a 17" MacBook Pro to a SCSI Raid drive. Tried a search but no joy... LEE C.

  • Improving CLR performance in SQL Server (redux)

    I have been spending a lot of time trying to eek out the maximum performance out of a C# CLR UDF. I have already set IsDeterministic and IsPrecise to true, as well as SystemDataAccessKind.None and DataAccessKind.None. I am now experimenting with the

  • Disp+work.exe startup error

    Hi While doing Portal Configuration I change dataSourceConfiguration_abap.xml file but then somehow the original file is also got deleted the new file doesnu2019t contain any data. Noe While starting the Instance my disp+work.exe is showing following

  • Problems with Zen Xtra 30 gig- SL

    Today I installed the newest firmware edition on my player and all has seemingly gone wrong. When I click on the player in my explore window, it first takes FOREVER to show me the file content. We're talking between 3 and 5 minutes. When I try using