Home > 3rd Party Tools > Web Remote Console v3.2.1 Client Log Files

Web Remote Console v3.2.1 Client Log Files


Here is another button for Ron Crumbaker’s Web Remote Console v3.21. This button will open a log file on the remote device. Be sure to fill in your server name for the Remote$ share.

<tr>
    <TD vAlign="top" width="371" height="64">
    <P><strong><font size="3">Select a Log File to Open on the Device</font></strong>
    <SELECT id="Select2" style="FONT-SIZE: 10pt" size="1" name="Select2">
        <option selected>CAS.log 
        <option>CcmExec.log
        <option>execmgr.log
        <option>LocationServices.log
        <option>UpdatesDeployment.log
    </select>
    <P><INPUT id="Button22" style="FONT-SIZE: 10pt" type="button" value="Open Log File " name="SndBtn22"></P>
    </TD>
</tr>

‘———————————————————————————-
‘Opens log files from the remote device
‘———————————————————————————-
Sub SndBtn22_OnClick
on error resume next

DIM CompName, strExe, logValue, WShell, fso

CompName = trim(document.frmMain.txtValue.value)
logValue = document.frmMain.select2.selectedIndex
 
Set WShell = CreateObject("WScript.Shell")
Set fso = createobject("scripting.filesystemobject")
strExe = "\\SERVERNAME\Remote$\trace32.exe"
If NOT fso.FileExists(strExe) Then
    msgbox "Could not find SMS Trace."
Else

    if logValue = 0 Then
        logFile = "CAS.log"
    end if

    if logValue = 1 Then
        logFile = "ccmexec.log"
    end if
 
    if logValue = 2 Then
        logFile = "execmgr.log"
    end if
 
    If logValue = 3 Then
        logFile = "locationservices.log"
    end if
 
    if logValue = 4 Then
        logfile = "updatesdeployment.log"
    End If
 
    WShell.Run  strExe & " \\" & CompName & "\C$\windows\system32\ccm\logs\" & logFile

End If
 
End Sub

Advertisements
Categories: 3rd Party Tools
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: