Call a WMI Class Method by Using System.Management ...
docs.microsoft.com › en-us › memNov 24, 2021 · Set up a connection to the Configuration Manager client WMI namespace. For more information, see How to Connect to the Configuration Manager Client WMI Namespace by Using System.Management . Create a ManagementClass by using the ManagementScope path you obtain in step one, and also the name of the class you want to call a method on.