Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SMS 2003

Status
Not open for further replies.

lorri

Technical User
Oct 4, 2006
61
0
0
US
Hi All - Is there a way to use SMS to find out registry information on a users machine like printer information, network drives.......
 
The only way to do this would be to extend the SMS Hardware inventory by modifying the sms_def.mof. I haven't done it with things like printers or network drives but have done it with other information successfully.
 
Such as this for printers as an SMS_DEF.Mof add-on

//-----------------------
// SMS Expert MOF modifications
//-----------------------
#pragma namespace("\\\\.\\root\\cimv2\\sms")


[SMS_Report(TRUE), SMS_Group_Name("SMX Printers"),
SMS_Class_ID("SMXPRINTERS")]


class SMX_Printer : SMS_Class_Template
{
[SMS_Report(TRUE)] string Comment;
[SMS_Report(TRUE)] boolean Default;
[SMS_Report(TRUE)] string DeviceID;
[SMS_Report(TRUE)] string DriverName;
[SMS_Report(TRUE)] boolean Local;
[SMS_Report(TRUE)] string Location;
[SMS_Report(TRUE), key] string Name;
[SMS_Report(TRUE)] boolean Network;
[SMS_Report(TRUE)] string PortName;
[SMS_Report(TRUE)] uint32 PrinterState;
[SMS_Report(TRUE)] string ServerName;
[SMS_Report(TRUE)] boolean Shared;
[SMS_Report(TRUE)] string ShareName;



};
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top