To delete a class
You can delete a class in the current namespace with Delete Class on the Windows Management Instrumentation Tester dialog box.
- Open the Windows Management Instrumentation Tester dialog box.
- In the Windows Management Instrumentation (WMI) Tester dialog box, click Connect.
- In the Namespace box, type the path to the namespace that you want to connect to.
Example?- To connect to the namespace where the Win32 provider classes reside, type:
root\cimv2
- To connect to the namespace where the Win32 provider classes reside, type:
- Click Connect.
- Click Delete Class.
- In the Get Class Name dialog box, type the name of the class you want to delete, and then click OK.
A dialog box is displayed to warn you that the class might have derived classes or instances. This dialog box is displayed even if there are no derived classes or instances. - If you are sure you want to delete the class, click Yes to delete the class.
Notes
- Performing this task on the local computer does not require you to have administrative credentials. Therefore, as a security best practice, consider performing this task as a user without administrative credentials.
- Performing this task on a remote computer requires that you are a member of the Administrators group on the remote computer, or that you have been delegated the appropriate authority.
- To open the Windows Management Instrumentation Tester dialog box, click Start, click Run, and then type WBEMTest.exe.
0 comments:
Post a Comment