Use ypmatch to view an entry in an NIS map

Applies To: Windows Server 2008 R2, Windows Server 2012

To use ypmatch to view an entry in an NIS map

To use ypmatch to view an entry in an NIS map

  • At a command prompt, type one of the following:

    ypmatch  [ -d   Domain ] [ -h   HostName ] [ -t ] [ -kKey  [ Key  ...]   MapName


      ypmatch   -x

The following table describes the arguments that are used with the ypmatch command to view entries in NIS maps. To view the complete syntax for this command, at a command prompt, type ypmatch /? .

Argument Description


A domain other than the default domain.


The name of the Network Information Service (NIS) server to which you want to send the request.


Inhibits translation of nickname to map name.


Prints a key followed by a colon before printing the value of the key. This is useful only if your keys do not have duplicate values, and you do not have an unreasonable number of keys to clutter the output.


The key for which you want to print the value.


The name or the nickname of a map.


Lists the nicknames as specified by the MapName parameter.


There is no Windows interface method for this procedure.

See Also