Re: Can't get something basic to work (WMI)

From: Willy Denoyette [MVP] (willy.denoyette_at_pandora.be)
Date: 04/19/04


Date: Mon, 19 Apr 2004 15:57:00 +0200

Please restrict your cross posting, some NG's have nothing to do with WMI
scripting, this is very confusing.

Willy.

"Sunline" <eddyracing@hotmail.com> wrote in message
news:%23tgV4tgJEHA.3380@TK2MSFTNGP09.phx.gbl...
>I have tested with this moniker string also but same result.
>
> Set objLocator = CreateObject("WbemScripting.SWbemLocator")
> Set objWMIService = objLocator.ConnectServer(Server, "root\cimv2", _
> TestUser, 123456,, "kerberos:" & Server)
> objWMIService.Security_.ImpersonationLevel = 4
>