Config - RES ONE Workspace Connector - Sync Frequency - 5 Minutes
| 0 Votes |
Versioning - This is the latest version.
| 1 | Config - RES ONE Workspace Connector - Sync Frequency - 5 Minutes | 8/11/2016 12:55:32 PM |
| 2 | Config - RES ONE Workspace Connector - Sync Frequency - 5 Minutes | 10/3/2016 4:45:22 PM |
| 3 | Config - RES ONE Workspace Connector - Sync Frequency - 5 Minutes | 12/7/2016 1:59:44 AM |
Description
Sets the sync frequency for the RES ONE Workspace Connector to 5 minutes.
Property Details
| 22933 | |
| Config - RES ONE Workspace Connector - Sync Frequency - 5 Minutes | |
| RESS | |
| Internal | |
| 12/5/2016 12:00:00 AM | |
| True | |
| RES on 12/7/2016 1:59:44 AM | |
| RES on 12/7/2016 1:59:44 AM | |
| 5637 Views / 25 Downloads | |
* Average over 0 ratings.
** Log In or Register to add your rating.
|
Relevance
isWindows (Relevance 1172)
windows of operating system
| Used in 22 fixlets | * Results in a true/false |
exists main gather service whose (version of it >= "9")
| Used in 7 fixlets | * Results in a true/false |
exists (file "res2bes.exe" of folder (value "path" of key "HKLM\SOFTWARE\BigFix\Enterprise Server\Applications\res2bes" of registry as string)) | true
| Used in 3 fixlets | * Results in a true/false |
select "/BESPluginRegistration/Schedule/WaitPeriodSeconds" of xml document of file "res2bes.xml" of folder "Config" of folder "Applications" of parent folder of file (following text of first "%22" of (image path of main gather service as string)) as text != "300"
Actions
Action 1
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
// Source Release Date: 2016-12-05
// Enter your action script here
parameter "PowerShellExe"="{ pathname of file ((it as string) of value "Path" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" of native registry) }"
parameter "serverFolder" = "{parent folder of file (following text of first "%22" of (image path of main gather service as string))}"
parameter "pluginsFolder" = "{parameter "serverFolder"}\Applications"
parameter "configFolder" = "{parameter "pluginsFolder"}\Config"
parameter "Frequency" = "300"
delete __createfile
delete validate.ps1
createfile until _end_
$Config = get-content "{parameter "configFolder"}\res2bes.xml"
$Config -replace("\d* ","{parameter "Frequency"} ")
$Config | set-content "{parameter "configFolder"}\res2bes.xml"
_end_
move __createfile updateFrequency.ps1
// We use command here so we can get a return code, file doesnt provide us the return code.
waithidden "{parameter "PowershellExe"}" -ExecutionPolicy Bypass -Command "& .\updateFrequency.ps1"
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
| Social Media: |

