Capture Task Server assignment on the agent
search cancel

Capture Task Server assignment on the agent

book

Article ID: 385479

calendar_today

Updated On:

Products

IT Management Suite Client Management Suite

Issue/Introduction

Is there a script that can be run to capture the Task Server assignment on the SMP agent?

Resolution

Here is a snippet of VB code that may be used to return Task Server registration agent side.

    set tn = CreateObject("ClientTaskAgent.TaskServerNetCommsCon")
    reg = tn.IsRegistered
    wscript.echo "Agent is registered on TS: " & reg
    sv = tn.ServerName
    wscript.echo "Server: " & sv
    tp = tn.TicklePort
    wscript.echo "Tickle port: " & tp