Relay AdvertisementList (ADSite) - Non-core Infrastructure
0 Votes |
Description
This fixlet sets the "_BESRelay_Register_Affiliation_AdvertisementList" for non-core infrastructure BES relays to match the property "AD Site"
Property Details
23800 | |
QA - Ready for Production Level Testing | |
Relay AdvertisementList (ADSite) - Non-core Infrastructure | |
, Relay, AdvertisementList, Non-core Infrastructure | |
Low | |
10/5/2015 12:00:00 AM | |
relay AdvertisementList | |
masonje on 3/13/2017 10:42:08 AM | |
masonje on 3/13/2017 10:45:21 AM | |
4818 Views / 1 Download | |
![]() ![]() ![]() ![]() ![]() |
Relevance
Used in 1 fixlet | * Results in a true/false |

/*Server name fits standard names*/ exists ("bfr") whose (computer name as lowercase contains it)
Used in 1 fixlet | * Results in a true/false |

/*Exclude some server names*/ not exists ("bftr") whose (computer name as lowercase contains it)
Used in 1 fixlet | * Results in a true/false |

/* AD site matches standards */ (value of setting "AD Site" of client as lowercase = regex "([0-9]{3}-[a-z,0-9]{2}[0-9]{3})" ) and (not exists setting "_BESRelay_Register_Affiliation_AdvertisementList" whose (value of it contains (value of setting "AD Site" of client )) of client)
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
// Check for valid AD-Site property valueSuccess Criteria
if {value of setting "AD Site" of client as lowercase = regex "([0-9]{3}}-[a-z,0-9]{2}}[0-9]{3}})" }
parameter "_AD_Site" = "{value of setting "AD Site" of client as string | "N/A"}"
if {parameter "_AD_Site" = "N/A"}
exit 1
endif
else
parameter "_AD_Site" = ""
endif
//both settings are set
if {parameter "_AD_Site" != "" }
parameter "_set" = "{parameter "_AD_Site"}"
//something is wrong and should never get to this point
else
exit 3
endif
setting "_BESRelay_Register_Affiliation_AdvertisementList"="{parameter "_set"}" on "{now}" for client
This action will be considered successful when all lines of the action script have completed successfully.
Sharing
Social Media: |
Comments
![]() |
|
Assuming you are capturing the BES property "AD Site", you can automatically associate it to your BESRelay Register Affiliation AdvertisementList |