You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
417 B
17 lines
417 B
var t_Service = GetObject("winmgmts://./root/default");
|
|
var t_Class = t_Service.Get();
|
|
|
|
t_Class.Path_.Class = "SPAWNTEST00"
|
|
t_Class.Put_();
|
|
|
|
var t_Class = t_Service.get("SPAWNTEST00")
|
|
t_Subclass = t_Class.SpawnDerivedClass_ ();
|
|
t_Subclass.Path_.Class = "SPAWNTEST00_SUBCLASS";
|
|
t_Subclass.Properties_.Add ("p", 13);
|
|
t_Subclass.Qualifiers_.Add ("q", 1.23, true, false, false);
|
|
t_Subclass.Put_ ();
|
|
|
|
|
|
|
|
|
|
|