@WORKGROUP[name]: Returns the workgroup of the computer specified by the DNS or NetBios name. If name is not specified, @WORKGROUP returns the workgroup of the local computer. (To query a remote computer, you must be an authenticated user on that computer.)