Delete Message Tracking Logs operation


The Delete Message Tracking Logs wrapper deletes the logs (.log files) logged during tracking a message.

The following table describes the input parameter for the Delete Message Tracking Logs wrapper.

 Input parameter description for the Delete Message Tracking Logs wrapper

The following figure shows a XML sample of an adapter request for the Delete Message Tracking Logs wrapper.

XML sample of an adapter request for the Delete Message Tracking Logs wrapper


<microsoft-exchange-request>
    <command>
        <command-name>Delete-MessageTrackingLogs</command-name>
        <parameters>
            <parameter>
                <name>ExchangeServerName</name>
                <value>S-17125</value>
            </parameter>
        </parameters>
    </command>
</microsoft-exchange-request>


The following figure illustrates the adapter response for the Delete Message Tracking Logs wrapper.

XML sample of the adapter response for the Delete Message Tracking Logs wrapper

<microsoft-exchange-response>
  <metadata>
   <status>success</status>
  </metadata>
   <commands-output>
     <command-output>
       <metadata>
        <command>cscript "C:\Program Files\BMC Software\AO\CDP_75FCS\server
  \grids\KGrid\library\adapters\bmc-adapter-microsoft-exchange-v2003
  -actor_7.6.00.00-SNAPSHOT\scripts\deleteMessageTrackingLogs.vbs"  
  "S-17125"</command>
          <line-count>12</line-count>
          <execution-milliseconds>3719</execution-milliseconds>
          <exit-code>0</exit-code>
          <status>success</status>
        </metadata>
        <output>
          <line index = "1">Attempting to connect to remote host...</line>
          <line index = "2">Initialising rctrlx server component...</line>
          <line index = "3">Executing remote application: cmd /c cscript
  "%windir%\deleteMessageTrackingLogs.vbs" "S-17125"</line>
          <line index = "4">Remote application process ID: 4712</line>
          <line index = "5">Microsoft (R) Windows Script Host Version 5.6</line>
          <line index = "6">Copyright (C) Microsoft Corporation 1996-2001.
  All rights reserved.</line>
          <line index = "7">Exchange Server Found: S-17125</line>
          <line index = "8">Message tracking enabled: True</line>
          <line index = "9">Message tracking log file lifetime: 0</line>
          <line index = "10">Message tracking log file path:
  C:\Program Files\Exchsrvr\S-17125.log</line>
          <line index = "11">Deleting message tracking log files...</line>
          <line index = "12">Remote application exited with code: 0</line>
       </output>
      </command-output>
    </commands-output>
</microsoft-exchange-response>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Orchestration Content 21.3