Dear,
I have the following problem.
We have multiple locations and all have much default gateways.
Now I want to install an application when the Default Gateway like 10.42.x.x and 10.43.x.x.
The selection must based on the first and second part off the Default Gateway.
How can I do that?
I have already been tried with a WMI query:

![]()
And with the Task Sequence variable:

![]()
But it doesn't work.