If you are planning to work with System.Management Namespace in the .NET framework, especially with ManagementObjectSearcher, ManagementObjectCollection, and ManagementObject classes, to perform different Windows Management Instrumentation (WMI) queries, take a look on WMI Code Creator tool by Microsoft.
Without this free utility, you'll spending lots of time to test your WMI queries via console or other debugging methodology.
Using the WMI Query Builder you can browse WMI namespaces, execute methods and receive WMI events. Also you can automatically generate a working source code to perform WMI queries, either C# or Visual Basic.
Moreover, you can modify and run these management scripts by pressing a single button! Visual Studio is not required for that 🙂