Need a query to get Manufacturer,Computername and Serial number for Physical Disk drives which are available in SCCM 2007 server


  • Hi All,

    I require process to get serial number specifically for physical disk drives which are available in SCCM 2007 server.

    I have updated configuration.mof and sms_def.mof files for win32_PhysicalMedia.

    Configuration.mof changes:

    class win32_physicalMedia
    string serialnumber;
    string tag;

    SMS_Def.mof file changes:

    [ SMS_Report (TRUE),
     SMS_Group_Name ("Physical Media"),

     class Win32_PhysicalMedia : SMS_Class_Template
     [SMS_Report (TRUE) ] string SerialNumber;
     [SMS_Report (TRUE), key] string Tag;

    I have compiled the mof file using mofcomp.exe. It is successful.

    Still I am not able to see the entries related to win32_physicalmedia and due to that I am not able to get serialnumber for physical  disk drives.

    Am I doing anything wrong? Can any body help on this issue?



    יום רביעי 30 מאי 2018 12:38

כל התגובות