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.
11 lines
267 B
11 lines
267 B
' The following sample deletes the class MyClass.
|
|
on error resume next
|
|
|
|
Set objServices = GetObject("cim:root/default")
|
|
objServices.Delete "MyClass"
|
|
|
|
if Err <> 0 Then
|
|
WScript.Echo Err.Source, Err.Number, Err.Description
|
|
else
|
|
WScript.Echo "Success"
|
|
end if
|