tdevropa-test

modify the wincollect file parameter that is in description "install_config.txt" under the location "C:\IBM\WinCollect\config"
Log In or Register to download the BES file, and more.

0 Votes

Description

This task will modify following parameters in file "install_config.txt".

ConfigurationServer=
StatusServer=

Note: After completion of this task, run task "Restart wincollect service" to make the changes effective.


Property Details

ID24861
StatusProduction - Fully Tested and Ready for Production
Titlemodify the wincollect file parameter that is in description "install_config.txt" under the location "C:\IBM\WinCollect\config"
DomainBESC
CategoryN/A
Download Size0
SourceInternal
Source IDniraj11032015
Source Release Date3/11/2015 12:00:00 AM
KeywordsUnmange Wincollect after deployment
Is TaskTrue
Added by on 12/3/2017 9:06:03 AM
Last Modified by on 12/3/2017 9:06:03 AM
Counters 83 Views / 0 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance


Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type tdevropa-test Action Script
// Enter your action script here
// store the file location -- store the file location or ("C:\IBM\WinCollect\config\install_config.txt")
parameter "filename" = "{pathname of file ("C:\IBM\WinCollect\config\install_config.txt")}"

parameter "textToReplace" = "{(following text of first "ConfigurationServer=" of lines of it)of file "C:\IBM\WinCollect\config\install_config.txt"}"
parameter "newText" = ""




// iterate through the file replacing lines as necessary
appendfile {concatenation "%0d%0a" of ( if (it contains (parameter "textToReplace")) then ((preceding text of first (parameter "textToReplace") of it) & (parameter "newText") ) else it ) of lines of file (parameter "filename")}

//move "{parameter "filename"}" "{parameter "filename"}.bak"
move "{parameter "filename"}" "{parameter "filename"}.bak"
// replace with the new file
move __appendfile "{parameter "filename"}"
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.



Comments

Log In or Register to leave comments!

Recommended Articles

compatibility pack for the 2007 office system microsoft expression encoder 4 screen capture how to uninstall adobe air adobe flash player 14 activex mysql odbc 5.2 jre 1.7.0 download uninstall silverlight mac asp net mvc tools vlc log file windows system file checker download download vmware client integration plugin uninstall adobe acrobat 9