Hi there
I've a SCCM 2012 setup on two sites and on DP on each of them.
I want to use the same Task Sequence to deploy Windows 7 on both sites and want the Task Sequence to put the computer into an OU that matches the site.
I've tried several conditions to determine what site the computer running the TS is on, but with no luck.
I'm currently using following WMI query:
Select * FROM Win32_IP4RouteTable WHERE Destination='0.0.0.0' AND NOT NextHop='192.168.128.1'
(The default gateway of the site WAR is 192.168.128.1 so i simply do a "NOT" for site BAL)
If I do a "Test query" it verifies it, and says that the machine matches the condition.
Any suggestions?