@PDC — Returns the name of the primary domain controller for the specified domain.

Syntax:
%@PDC[domain]

domainif the computer is a member of a domain, this parameter is optional

echo %@pdc[world.example.org]