dsquery computer -name PCNAME
– where PCNAME is the name of your computer.

Or, go visit Joeware and grab the AdFind tool.