달력

1

« 2025/1 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
2010. 3. 10. 15:20

SCCM MOF SystemCenter2010. 3. 10. 15:20

CONFIGURATION.MOF

#pragma namespace ("\\\\.\\root\\cimv2")
#pragma deleteclass("SCPGC", NOFAIL)

[DYNPROPS]
class SCPGC
{
[key]
string KeyName;
string Line;
string Process;
string DetailedProcess;
};
[DYNPROPS]
instance of SCPGC
{
KeyName="SCPG Process";
[PropertyContext("local|HKEY_LOCAL_MACHINE\\Software\\SCPG|Process1"),Dynamic,Provider("RegPropProv")]Line;
[PropertyContext("local|HKEY_LOCAL_MACHINE\\Software\\SCPG|Process2"),Dynamic,Provider("RegPropProv")]Process;
[PropertyContext("local|HKEY_LOCAL_MACHINE\\Software\\SCPG|Process3"),Dynamic,Provider("RegPropProv")]DetailedProcess;
};


SMS_DEF.MOF

#pragma namespace ("\\\\.\\root\\cimv2\\SMS")
#pragma deleteclass("SCPGC", NOFAIL)
[
SMS_Report(TRUE),
SMS_Group_Name("SCPG Process Info"),
SMS_Class_ID("SCPGC|Process|1.0")]

Class SCPGC : SMS_Class_Template
{
[SMS_Report(TRUE),key]
string KeyName;
[SMS_Report(TRUE)]
String Line;
[SMS_Report(TRUE)]
String Process;
[SMS_Report(TRUE)]
String DetailedProcess;
};

:
Posted by 커널64