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

adobe acrobat pro xi download meraki system manager remove symantec endpoint protection password visual foxpro 8.0 check dell service tag warranty soap toolkit 3.0 download microsoft office 2010 sp1 crystal reports for net framework 4.0 alarm at 8am epson v600 driver microsoft office web components download xna framework 4.0 redistributable