
Querying registry for AD Site Name in a Task Sequence
Hi, there are lots of different methods to query AD Site Name in a Task Sequence, one of them is querying the AD Site-Name value from registry.
The registry key and value to be read is
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Site-Name
And here is the Task Sequence condition example to check registry
Hope it helps