In our CDF, we are setting a Department value, which is then used in Dynamic Workstation groups. I'm looking for a way to get that value into a SYSTEM environment variable so that we can use it in AD policies.

any suggestions?