AAC::BackupClientSettings
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
26852 | |
Beta - Preliminary testing ready for more | |
AAC::BackupClientSettings | |
BESC | |
Utilities | |
Internal | |
andrea.capasso@hcl.com | |
3/10/2021 12:00:00 AM | |
Client settings | |
True | |
kapax on 3/17/2021 12:41:48 PM | |
kapax on 3/17/2021 12:41:48 PM | |
1098 Views / 1 Download | |
![]() ![]() ![]() ![]() ![]() |
Relevance
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: |