(imported topic written by Shlomi91)
not sure if this is the place to post this, but ill try anyway. please forgive and correct if i am wrong
anyway, i manage about 200 sites over low bandwidth MPLS connection, so i need at least one relay in each site. since i have very little servers on these remote sites, i am forced to use users’ PC’s as relays, which forces me to frequently move the BES relay.
i got tired of checking if each PC can run a relay, so i wrote this property (called “Applicable as relay?” to help me:
if ((free space of drive of system folder) > 10737418240) AND ((name of operating system as lowercase starts with "win") and (name of operating system != "Win98") and (name of operating system != "WinNT")) AND (size of ram > 502775808) AND (not exists selects "* from win32_Battery" of wmi) then "Yes" else "No"
basically, it checks for free disk space on the system drive (over 10GB), checks it has at lease 512 MB RAM, checks it isnt windows 98 or NT4, and check it is not a laptop.
hope this helps anyone,
Shlomi