Config - RES ONE Workspace Connector - Sync Frequency - 5 Minutes
Log In or Register to download the BES file, and more.

0 Votes

Versioning - This is the latest version.

1Config - RES ONE Workspace Connector - Sync Frequency - 5 Minutes8/11/2016 12:55:32 PM
2Config - RES ONE Workspace Connector - Sync Frequency - 5 Minutes10/3/2016 4:45:22 PM
3Config - RES ONE Workspace Connector - Sync Frequency - 5 Minutes12/7/2016 1:59:44 AM

Description

Sets the sync frequency for the RES ONE Workspace Connector to 5 minutes.


Property Details

ID22933
TitleConfig - RES ONE Workspace Connector - Sync Frequency - 5 Minutes
DomainRESS
SourceInternal
Source Release Date12/5/2016 12:00:00 AM
Is TaskTrue
Added by on 12/7/2016 1:59:44 AM
Last Modified by on 12/7/2016 1:59:44 AM
Counters 5637 Views / 25 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

isWindows (Relevance 1172)
Used in 1155 fixlets and 538 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 22 fixlets   * Results in a true/false
Show indented relevance
exists main gather service whose (version of it >= "9")
Used in 7 fixlets   * Results in a true/false
Show indented relevance
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
Show indented relevance
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:
Share this page on Yammer

Comments