For the domain name you want to use the downlevel or netbios name. You also need to specify the options.

Syntax:
EnumObject --name Nail --class domain
_________________________
Home page: http://www.kixhelp.com/hb/