AAC::BackupClientSettings
Log In or Register to download the BES file, and more.

0 Votes

Description

If you need to replace a system with a fresh client and have to replicate all the client settings of the original endpoint, this task will create a text file with the settings commands that in a task will recreate the same values and affective dates on teh new system

Any values with no Effective dates will be set with execution timestamp.

Creates a list of client settings for reuse in a task or fixlet .

The file name is "dump_of_settings.txt" and will be found in subfolder "HCL" of BigFix client's storage directory

Written by Andrea.Capasso@hcl.com


Property Details

ID26852
StatusBeta - Preliminary testing ready for more
TitleAAC::BackupClientSettings
DomainBESC
CategoryUtilities
SourceInternal
Source IDandrea.capasso@hcl.com
Source Release Date3/10/2021 12:00:00 AM
KeywordsClient settings
Is TaskTrue
Added by on 3/17/2021 12:41:48 PM
Last Modified by on 3/17/2021 12:41:48 PM
Counters 96 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

Used in 87 fixlets and 91 analyses   * Results in a true/false
Show indented relevance
true

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
parameter "TargetFolder"="{pathname of storage folder of client & "/HCL"}"
folder create "{parameter "TargetFolder"}"

createfile until __EOF__
{concatenation "%0d%0a" of (( "setting %22" & item 0 of it & "%22=%22" & item 1 of it & "%22 on %22" & item 2 of it & "%22 for client") as string) of (name of it, value of it, effective date of it as universal string | "%7bnow%7d" ) of settings whose (name of it does not contain "__AdminBy__" and name of it does not contain "__Client_Role_") of client}
__EOF__

delete "{parameter "TargetFolder" & "/dump_of_settings.txt"}"
move __createfile "{parameter "TargetFolder" & "/dump_of_settings.txt"}"
Success Criteria

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

Action 2

Action Link Click here to deploy this action (List sorted by name)
Script Type BigFix Action Script
parameter "TargetFolder"="{pathname of storage folder of client & "/HCL"}"
folder create "{parameter "TargetFolder"}"

createfile until __EOF__
{concatenation "%0d%0a" of (("setting %22" & tuple string item 0 of it & "%22=%22" & tuple string item 1 of it & "%22 on %22" & tuple string item 2 of it & "%22 of client") as string) of unique values of (it as string) of (name of it, value of it, effective date of it as universal string | "%7bnow%7d" ) of settings whose (name of it does not contain "__AdminBy__" and name of it does not contain "__Client_Role_") of client}
__EOF__

delete "{parameter "TargetFolder" & "/dump_of_settings.txt"}"
move __createfile "{parameter "TargetFolder" & "/dump_of_settings.txt"}"
Success Criteria

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


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!