How to give address for remote db using wmi method. plz anyone can get me out of this problem. thanks in advance..
remote server name is WIN-CMTO5GNUCQ3
var wbemServices = GetObject(“winmgmts://WIN-CMTO5GNUCQ3/root/onguard”);
var cardholderSet = wbemServices.InstancesOf(“Lnl_Cardholder”);
for ( var e = new Enumerator( cardholderSet ); !e.atEnd(); e.moveNext() )
var cardholder = e.item();
WScript.Echo(cardholder.FirstName + “ “ + cardholder.LastName);