Kaspersky Security Center Automation
10.0
|
Modify specified attributes for host. Modifies specified attributes for given host
... var oHosts = new ActiveXObject("klakaut.KlAkHosts"); oHosts.AdmServer = ... ... //name of the host to change attributes var strHostName = ... ... //Fill container with attributes to change var oProps = new ActiveXObject("klakaut.KlAkParams"); oProps.Item("KLHST_WKS_DN") = "New host display name"; //Change host attributes oHosts.UpdateHost(strHostName, oProps); |