How to add attributes NetConnectionStatus and NetConnectionID to Win32_NetworkAdapter Hardware Class

We are trying to run SCCM (CM2012 R2) reports that show devices with an active network connection. I know that there is a WMI class, Win32_NetworkAdapter, that has the attribute NetConnectionStatus, which if it has a value of 2 means it has an active connection.
I can go into WBEMTEST on my Windows 7 (works with XP too) device, and can get directly to the Class / Attribute. However, when I go into Hardware Inventory (through Client Settings) and look at the Win32_NetworkAdapter Class, I don't even see this attribute
for me to enable.
What can I do? I'd like to start gathering this information during the Hardware Inventory Scans.
Thanks!

So based on what you are saying, we should create a new custom class? Say "Custom_NetworkAdapter" or something like that?
So basically import something like this?
[ SMS_Report (TRUE),
SMS_Group_Name ("Network_Adapter_Addtl"),
SMS_Class_ID ("CUSTOM|Network_Adapter_Addtl|1.0"),
Namespace ("\\\\\\\\.\\\\root\\\\cimv2") ]
class Win32_NetworkAdapter : SMS_Class_Template
[ SMS_Report (TRUE), key ]
String DeviceID;
[ SMS_Report (TRUE) ]
String AdapterType;
[ SMS_Report (FALSE) ]
Boolean AutoSense;
[ SMS_Report (FALSE) ]
UInt16 Availability;
[ SMS_Report (FALSE) ]
String Caption;
[ SMS_Report (FALSE) ]
UInt32 ConfigManagerErrorCode;
[ SMS_Report (FALSE) ]
Boolean ConfigManagerUserConfig;
[ SMS_Report (TRUE) ]
String Description;
[ SMS_Report (FALSE) ]
Boolean ErrorCleared;
[ SMS_Report (FALSE) ]
String ErrorDescription;
[ SMS_Report (FALSE) ]
UInt32 Index;
[ SMS_Report (FALSE) ]
DateTime InstallDate;
[ SMS_Report (FALSE) ]
Boolean Installed;
[ SMS_Report (FALSE) ]
UInt32 LastErrorCode;
[ SMS_Report (TRUE) ]
String MACAddress;
[ SMS_Report (TRUE) ]
String Manufacturer;
[ SMS_Report (FALSE) ]
UInt32 MaxNumberControlled;
[ SMS_Report (FALSE), SMS_Units ("DecimalString") ]
UInt64 MaxSpeed;
[ SMS_Report (TRUE) ]
String Name;
[ SMS_Report (TRUE) ]
String NetConnectionID;
[ SMS_Report (TRUE) ]
UInt16 NetConnectionStatus;
[ SMS_Report (FALSE) ]
String NetworkAddresses[];
[ SMS_Report (FALSE) ]
String PermanentAddress;
[ SMS_Report (FALSE) ]
String PNPDeviceID;
[ SMS_Report (FALSE) ]
UInt16 PowerManagementCapabilities[];
[ SMS_Report (FALSE) ]
Boolean PowerManagementSupported;
[ SMS_Report (TRUE) ]
String ProductName;
[ SMS_Report (TRUE) ]
String ServiceName;
[ SMS_Report (FALSE), SMS_Units ("DecimalString") ]
UInt64 Speed;
[ SMS_Report (TRUE) ]
String Status;
[ SMS_Report (FALSE) ]
UInt16 StatusInfo;
[ SMS_Report (FALSE) ]
String SystemName;
[ SMS_Report (FALSE) ]
DateTime TimeOfLastReset;

Similar Messages

  • RE: how to add attributes in graphical modulator in segment builder .

    Hi Gurus,
    can you please help me how to add attributes in graphical modulator in segment builder in sap CRM 7.0 WEB-UI.
    thanks and regards
    satyanarayana
    Edited by: koradasatya on Oct 27, 2011 8:14 PM

    Hi Gurus,
    thanks for your reply my requirement from client is given below if you could answer this it will be a great help for me.
    WKSC needs to be able to make selections (in segment builder) with the possibilities to use stored data on organizations. The information we are missing in Segment builder (SB) (and Account search for industrycode) are Industrycode (we want to see values not codes) and responsible salesrep (values not codes).
    These variables together with regions and other marketing attributes is crucial for us. Without it we cannot use the functionality built.
    We also need it so that we can extract smaller parts of our customers and prospects and update them with information from the thirdparty or adding new persons to them.
    Everyone using the SB should be able to use the fields for selections. i.e. Marketers, marketing managers and power users.
    Example
    We would like to make selections that could look like this.
    Region: A and B
    Organization in Industrycode C
    Sales rep: D, E, and F
    Turnover: above 50000
    CP on selected orgs
    CP has title G or H
    CP has Email not blank
    thanks and regards
    satya

  • How to add new row and update existing rows at a time form the upload file

    hi
    How to add new row and update existing rows at a time form the upload file
    example:ztable(existing table)
    bcent                      smh            nsmh         valid date
    0001112465      7.4                       26.06.2007
    0001112466      7.5                       26.06.2007
    000111801                      7.6                       26.06.2007
    1982                      7.8                       26.06.2007
    Flat file structure
    bcent                       nsmh         valid date
    0001112465     7.8     26.06.2007  ( update into above table in nsmh)
    0001112466     7.9     26.06.2007  ( update into above table in nsmh) 
    000111801                     7.6      26.06.2007 ( update into above table in nsmh
    1985                      11              26.06.2007   new row it should insert in table
    thanks,
    Sivagopal R

    Hi,
    First upload the file into an internal table. If you are using a file that is on application server. Use open dataset and close dataset.
    Then :
    Loop at it.
    *insert or modify as per your requirement.
    Endloop.
    Regards,
    Srilatha.

  • How to ADD reference table and make a field as currency field in dictionary

    pls render some info on how to add refernce table and ref field if i want to make an added field as a currency or quantity field...

    Hi Kiran,
    It sounds like you are creating a "Z" table or structure and have defined a quantity (eg MENGE). But when you run the syntax check, the system is saying you need to define a reference table / field.
    Well when you are in SE11, click on the "Currency / Quantity Fields" tab. You will see 2 columns called "Reference Table" and "Reference Field". These 2 columns define the unit of measure for the currency / qty.
    If you have defined in your table MENGE and MEINS and the MEINS field is the unit of measure for the MENGE field you should define your fields as such (inthe Currency/Quantity Fields" tab:
    Table - ZVBAP
    MENGE MENGE_D QUAN ZVBAP MEINS
    MEINS MEINS   UNIT
    Hope this makes sense.
    Cheers,
    Pat.
    PS. Kindly assign Reward Points to the posts you find helpful.

  • How to add attribute to UME and how to retrive the attribute value

    Hi Gurus,
    I have developped an application that retriving the data from back end for that we need to give input values .
    I have got the Logged user from the Iuser But Sales Organization of User [from user profile] and Brand value [from user profile] I want these input put values need to pass as a input .
    For this how can get the sales org and Brand value.
    Give me suggestions for this or how to pass attributes to UME and how to capture it.
    Advance thanks.
    thanks
    Lohi.

    Check if there are any available function modules for this functionality. One of the FM that comes to my mind is:
    a) BAPI_USER_GET_DETAIL
    Check with your SD guys , if there exists any such function module.
    Regards,
    Subramanian V.

  • How to add attribute to Group in opensso

    I want to add a new attribute in opensso group as UsageControl. Presently while we create a group, we only get option to give id of the group. How to add an entry in that page? I want to give the value of Usagecontrol while creating a group, also I want that value to be present as an attribute.Please help.

    Hi,
    Can you please share the exact url for adding new fact group into OBIA load plan, altogether a new offering and  functional area.
    Regards,
    Priya

  • How to add attribute to Item ?

    Hi,
    I have a problem concerning OCS -> Content Service. I try to find out how scaleable the tool is. Do you know is it possible to add attribute to the Item? For example how to add some link to Document in repository?
    Best regards

    Content Services support adding attributes (we
    support Categories which are named collections of
    attributes) to documents.
    We also have support for document and folder links.so, there is no problem with adding an attribute to a document? Attribute could consist of a collection of links to any Document (Document, Folder etc.)?
    Regards

  • How to add attributed string to JTextPane

    Hi all,
    Could you tell me how to add an attributed string into a Textpane.
    Textpane only takes a styledDocument. Is there any way to convert attributed string into a styled document.
    Are there any components , which we can include attributed string , instead of simple string. Becoz i want my text to have variable fonts.

    Hello,
    check this short course about [url http://developer.java.sun.com/developer/onlineTraining/GUI/Swing2/shortcourse.html#JFCStyled]JTextPane and StyledDocument.
    Heres a small example:import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Font;
    import java.awt.event.*;
    public class AttributedStringTest extends JFrame
         public static void main(String[] args)
              new AttributedStringTest();
         private JTextPane textPane = null;
         private StyledDocument doc = null;
         AttributedStringTest()
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              initMenuBar();
              initTextPane();
              setSize(500, 300);
              setLocationRelativeTo(null);
              setVisible(true);
         private void initMenuBar()
              JMenuBar mbar = new JMenuBar();
              JMenu menu = new JMenu("StyleConstants");
              JMenuItem item = new JMenuItem("Color");
              item.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        Color color =
                             JColorChooser.showDialog(
                                  AttributedStringTest.this,
                                  "Color Chooser",
                                  Color.cyan);
                        if (color != null)
                             MutableAttributeSet attr = new SimpleAttributeSet();
                             StyleConstants.setForeground(attr, color);
                             textPane.setCharacterAttributes(attr, false);
              menu.add(item);
              JMenu font = new JMenu("Font");
              font.add(item = new JMenuItem("12"));
              item.addActionListener(new StyledEditorKit.FontSizeAction("font-size-12", 12));
              font.add(item = new JMenuItem("24"));
              item.addActionListener(new StyledEditorKit.FontSizeAction("font-size-24", 24));
              font.add(item = new JMenuItem("36"));
              item.addActionListener(new StyledEditorKit.FontSizeAction("font-size-36", 36));
              font.addSeparator();
              font.add(item = new JMenuItem("Serif"));
              item.setFont(new Font("Serif", Font.PLAIN, 12));
              item.addActionListener(
                   new StyledEditorKit.FontFamilyAction("font-family-Serif", "Serif"));
              font.add(item = new JMenuItem("SansSerif"));
              item.setFont(new Font("SansSerif", Font.PLAIN, 12));
              item.addActionListener(
                   new StyledEditorKit.FontFamilyAction("font-family-SansSerif", "SansSerif"));
              font.add(item = new JMenuItem("Monospaced"));
              item.setFont(new Font("Monospaced", Font.PLAIN, 12));
              item.addActionListener(
                   new StyledEditorKit.FontFamilyAction("font-family-Monospaced", "Monospaced"));
              font.addSeparator();
              menu.add(font);
              mbar.add(menu);
              setJMenuBar(mbar);
         private void initTextPane()
              doc = new DefaultStyledDocument();
              textPane = new JTextPane(doc);
              JScrollPane scroll = new JScrollPane(textPane);
              getContentPane().add(scroll);
              final JTextField text = new JTextField();
              text.setToolTipText("Please enter something");
              text.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        try
                             doc.insertString(doc.getLength(), text.getText(), textPane.getInputAttributes());
                        } catch (BadLocationException bad)
              getContentPane().add(text, BorderLayout.SOUTH);
    //not formatted version:import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Font;
    import java.awt.event.*;
    public class AttributedStringTest extends JFrame
         public static void main(String[] args)
              new AttributedStringTest();
         private JTextPane textPane = null;
         private StyledDocument doc = null;
         AttributedStringTest()
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              initMenuBar();
              initTextPane();
              setSize(500, 300);
              setLocationRelativeTo(null);
              setVisible(true);
         private void initMenuBar()
              JMenuBar mbar = new JMenuBar();
              JMenu menu = new JMenu("StyleConstants");
              JMenuItem item = new JMenuItem("Color");
              item.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        Color color =
                             JColorChooser.showDialog(
                                  AttributedStringTest.this,
                                  "Color Chooser",
                                  Color.cyan);
                        if (color != null)
                             MutableAttributeSet attr = new SimpleAttributeSet();
                             StyleConstants.setForeground(attr, color);
                             textPane.setCharacterAttributes(attr, false);
              menu.add(item);
              JMenu font = new JMenu("Font");
              font.add(item = new JMenuItem("12"));
              item.addActionListener(new StyledEditorKit.FontSizeAction("font-size-12", 12));
              font.add(item = new JMenuItem("24"));
              item.addActionListener(new StyledEditorKit.FontSizeAction("font-size-24", 24));
              font.add(item = new JMenuItem("36"));
              item.addActionListener(new StyledEditorKit.FontSizeAction("font-size-36", 36));
              font.addSeparator();
              font.add(item = new JMenuItem("Serif"));
              item.setFont(new Font("Serif", Font.PLAIN, 12));
              item.addActionListener(
                   new StyledEditorKit.FontFamilyAction("font-family-Serif", "Serif"));
              font.add(item = new JMenuItem("SansSerif"));
              item.setFont(new Font("SansSerif", Font.PLAIN, 12));
              item.addActionListener(
                   new StyledEditorKit.FontFamilyAction("font-family-SansSerif", "SansSerif"));
              font.add(item = new JMenuItem("Monospaced"));
              item.setFont(new Font("Monospaced", Font.PLAIN, 12));
              item.addActionListener(
                   new StyledEditorKit.FontFamilyAction("font-family-Monospaced", "Monospaced"));
              font.addSeparator();
              menu.add(font);
              mbar.add(menu);
              setJMenuBar(mbar);
         private void initTextPane()
              doc = new DefaultStyledDocument();
              textPane = new JTextPane(doc);
              JScrollPane scroll = new JScrollPane(textPane);
              getContentPane().add(scroll);
              final JTextField text = new JTextField();
              text.setToolTipText("Please enter something");
              text.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        try
                             doc.insertString(doc.getLength(), text.getText(), textPane.getInputAttributes());
                        } catch (BadLocationException bad)
              getContentPane().add(text, BorderLayout.SOUTH);
    regards
    Tim

  • How to add extension fields and mashups to partner solution?

    To add extension fields and mashups I have log on to the system using a user with adaptation rights.
    There's no possibility to do that from within the UI designer, right?
    Now, if I adapt the screens with extension fields or by creating and adding mashups, how do I add these enhancements to my partner solution?
    Or in other words, how do I ship extension fields and mashups with my partner solution?

    Before you use the key user tools, you must "enable key user tools" in copernicus by right click on the solution. Now the changes will be added to the partner soltution transport order.
    But you can add extension field in copernicus as well by adding new item "business object extension" to the partner solution.

  • How to add the entries and how to delete the entries from custom Z-table?

    Hi Experts,
    My requirement is I need to add the entries from program to three custom z-tables . Assume as zabc1,zabc2,zabc3.
    Here how to add the entries from program to Z-table.???
    And one more requirement is I want to provide a deletion checkbox in selection screen . Initial it was unchecked. If I am giving tick mark then the entries should be deleted from above custom Z-tables. this all will done in backgroung job?
    Could you please guide me the logic how to crack this???
    Let me know if you need more Info
    Thanks
    Sanju

    Hi Sanjana,
    What you can do is to use the ABAP keyword INSERT or MODIFY to add or modify records to a given database table. Here are the syntax taken from SAP documentation:
    *Insert Statement
    INSERT dbtab
    Syntax
    INSERT { {INTO target VALUES source }
           | {     target FROM   source } }.
    Effect
    The INSERT statement inserts one or more rows specified in source in the database table specified in target. The two variants with INTO and VALUES or without INTO with FROM behave identically, with the exception that you cannot specify any internal tables in source after VALUES.
    System Fields
    The INSERT statement sets the values of the system fields sy-subrc and sy-dbcnt.
    sy-subrc Meaning
    0 At least one row was inserted.
    4 At least one row could not be inserted, because the database table already contains a row with the same primary key or a unique secondary index.
    The INSERT statement sets sy-dbcnt to the number of rows inserted.
    Note
    The inserted rows are finally included in the table in the next database commit. Up until this point, they can still be removed by a database rollback.
    *Modify Statement
    MODIFY dbtab
    Syntax
    MODIFY target FROM source.
    Effect
    The MODIFY statement inserts one or several lines specified in source in the database table specified in target, or overwrites existing lines.
    System fields
    The MODIFY statement sets the values of the sy-subrc and sy-dbcnt system fields.
    sy-subrc Meaning
    0 At least one line is inserted or changed.
    4 At least one line could not be processed since there is already a line with the same unique name secondary index in the database table.
    The MODIFY statement sets sy-dbcnt to the number of processed lines.
    Note
    The changes are transferred finally to the database table with the next database commit. Up to that point, they can be reversed using a database rollback.
    Hope it helps...
    P.S. Please award points if it helps...

  • How to add src, alt and title tags to a PS generated Web Photo Gallery

    I do some web design and need to add some tags to a web photo gallery created by Photoshop. Maybe this question should be directed to the GoLive / Dreamweaver Forum but since the gallery was created in PS I thought I'd start here.
    I need to add src, alt and title tags to the images in the web gallery. Normally this is as simple as working on the code in the html page in which the image sits but the PS gallery doesn't seem to be that simple.
    Can anyone tell me exactly how, and which files I need to work on, to add these tags to each of my 42 gallery images?
    Thanks.
    John.

    You can't do it in Photoshop.
    You can open the pages in a text editor adn easily ad any tags you want. They are simply html pages.
    If you really want to, you can use Dreamweaver or Golive. Using a text editor is generally faster and easier because you can just copy/paste between the files and not have to worry about code rewriting in the WYSIWYG applications. Don't believe the GoLive/Dreamweaver hype about "round trip code" they both will alter code.

  • How to add Attributes to an asset? [URGENT]

    Hi,
    We are developing an application that need to add attributes to an asset depending on Product associated. Someone knows how to add the attributes automaticlly?
    FYI. We have not licensed the Configurator module.
    Please need an answer ASAP.
    Thanks

    Hi,
    We are developing an application that need to add attributes to an asset depending on Product associated. Someone knows how to add the attributes automaticlly?
    FYI. We have not licensed the Configurator module.
    Please need an answer ASAP.
    Thanks

  • How to add attributes to a DATS type characteristic

    I need to add some attiributes to a 0CALDAY type of characteristic.  I need to be able to do automatic time conversion in my transformations (e.g. from Cal Day to Cal Month or Cal Year).  I also need to have intelligent variable offsets in my queries too (e.g. the month of January-01 with a negative offset of 1 would be 12, not 00). 
    However I need to add some attributes to this Calendar Day characteristic such as "day of the week", "Week Number", etc...
    I need this as attributes and not as seperate InfoObjects such as 0CALDAY, 0CALMON, AND 0CALYEAR.  I need to be able to use the same date throughout my entire report, but then using the nav attributes, restrict based on what they selected in the variable screen.

    Hi Adam,
    It is not possible to define your own time characteristics or add attributes to any time characteristic.
    Time characteristics form the time reference frame for many data analyses and evaluations. They are delivered with Business Content.
    Examples:
    -->Timecharacteristic with the largest granularity: Calendar Day
    (0CALDAY)
    -->Time characteristic with the smallest granularity: Calendar Year
    (0CALYEAR) or Fiscal Year (0FISCYEAR).
    -Vikram

  • How to add attribute to groups.

    When I add a groups, Identity askme name of group and member for suscrib. I need add attribute to groups, attribute that not exits in groupsofuniquenames.
    Thanks

    Hi Venkat,
    We don't make any design changes in production box. Usually you make changes in Development box then transport that object with request to Quality box. You test the changed object there, if no inconsistancies found you will transport the object to Production box with same request.
    In development box, if you want to add the new attribute to the characterstic, you need to delete the complete data in the characterstic.
    Thanks
    Sreekanth

  • How to add attribute to Element with SAX

    Hi,
    I'm parsing XML document with SAX using DefaultHandler.
    How can I add attribute to start tag?

    Is this right????????????Yes, it's right. Everything everybody except you has said in this thread has been right.

Maybe you are looking for