jmcleish
Posts: 491
Score: 13 Joined: 11/8/2002 Status: offline
|
Brian, Been testing your script- looks great, but i wanted to ask a couple of questions. I took those clients that the client health tools reported as being unhealthy and added them to my test GPO. I enabled both good and bad logging to test it, however, i have no log files for the bad ones. The date and AD site name is created, but no log files. There are good log files though. Any ideas as to why this may be happening? Also, currently i'm using someones nice client health stratup script that runs ccmsetup from the GPO (so as not to bombard the site server running ccmsetup continually). I'm not a vb person and would like to know what part of the script to change to initiate ccmsetup from the same dir. my current script includes this bit: If ClientInstalledAndAuto("") = False Then Dim oExec, strCmdLine strCmdLine = ScriptDir & "\Ccmsetup.exe /service SMSSITECODE=AUTO SMSCACHESIZE=800 DISABLESITEOPT=TRUE DISABLECACHEOPT=TRUE" lngExitCode = WshShell.Run(strCmdLine, 0, True) WshShell.LogEvent 0, "Started SMS Advanced Client Install" & CHR(10) & "Exit code was " & CSTR(lngExitCode) Else 'WshShell.LogEvent 0, "SMS Advanced Client service (ccmexec) is installed and set to Automatic. No action required." End If I'd be most grateful if you could help me with this. Many thanks Jane
|