Delete Transaction Logs operation
The Delete Transaction Logs wrapper deletes the transaction logs (.log files) for the specified storage group.
The following table describes the input parameters for the Delete Transaction Logs wrapper.
Input parameter description for the Delete Transaction Logs wrapper
The following figure shows an XML sample of an adapter request for the Delete Transaction Logs wrapper.
XML sample of an adapter request for the Delete Transaction Logs wrapper
<microsoft-exchange-request>
<command>
<command-name>Delete-TransactionLogs</command-name>
<parameters>
<!--mandatory-->
<parameter>
<name>ExchangeServerName</name>
<value>S-17125</value>
</parameter>
<parameter>
<name>StorageGroupName</name>
<value>TestKamal99</value>
</parameter>
</parameters>
</command>
</microsoft-exchange-request>
The following figure illustrates the adapter response for the Delete Transaction Logs wrapper.
XML sample of the adapter response for the Delete Transaction Logs wrapper
<microsoft-exchange-response>
<metadata>
<status>success</status>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>cscript "D:\scripts\deleteTransactionLogs.vbs"
"S-17125" "TestKamal99"</command>
<line-count>13</line-count>
<execution-milliseconds>2516</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%\deleteTransactionLogs.vbs" "S-17125" "TestKamal99"</line>
<line index = "4">Remote application process ID: 700</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">ServerName : S-17125</line>
<line index = "8">Storage Group Name: TestKamal99</line>
<line index = "9">Log file Path : C:\Program Files\Exchsrvr\TestKamal</line>
<line index = "10">Log file Prefix : E01</line>
<line index = "11">Deleting IS/Transaction log files...</line>
<line index = "12">------------------------------------</line>
<line index = "13">Remote application exited with code: 0</line>
</output>
</command-output>
</commands-output>
</microsoft-exchange-response>
<metadata>
<status>success</status>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>cscript "D:\scripts\deleteTransactionLogs.vbs"
"S-17125" "TestKamal99"</command>
<line-count>13</line-count>
<execution-milliseconds>2516</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%\deleteTransactionLogs.vbs" "S-17125" "TestKamal99"</line>
<line index = "4">Remote application process ID: 700</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">ServerName : S-17125</line>
<line index = "8">Storage Group Name: TestKamal99</line>
<line index = "9">Log file Path : C:\Program Files\Exchsrvr\TestKamal</line>
<line index = "10">Log file Prefix : E01</line>
<line index = "11">Deleting IS/Transaction log files...</line>
<line index = "12">------------------------------------</line>
<line index = "13">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*