ManagementObject classInstance = new ManagementObject("root\\MicrosoftDNS", "MicrosoftDNS_Zone.ContainerName='lemlab.local',DnsServerName='lab-lem-dc-01.lemlab.local',Name='lemlab.local'", null); // Execute the method and obtain the return values. ManagementBaseObject outParams = classInstance.InvokeMethod("ForceRefresh", null, null);
SWbemServicesEx: Generic failure" error, i just tried using WMI code creator
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)