Englisch
Hi all,
I try to write a VB script that disables the alarm clock on a AMT 5.1 system. I pasted it below. But when I call Put, I get an Object required error message. I checked the msdn documentation for Session.put, and the example they give work, but mine doesn't, although it is very similar. Does anybody know what's wrong with it?
Christoph
Dim WSMan
Dim Session, Options, iFlags
Set WSMan = CreateObject( "WSMAN.Automation" )
iFlags = WSMan.SessionFlagUseDigest Or _
WSMan.SessionFlagCredUsernamePassword Or _
WSMan.SessionFlagUTF8