Поделиться через


Rpcinfo

 

Applies To: Windows Vista, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows 8

Lists programs on remote computers. The rpcinfo command-line utility makes a remote procedure call (RPC) to an RPC server and reports what it finds. For examples of how this command can be used, see Examples.

Syntax

rpcinfo [/p [<Node>]] [/b <Program Version>] [/t <Node Program> [<Version>]] [/u <Node Program> [<Version>]]

Parameters

Parameter

Description

/p [<Node>]

Lists all programs registered with the port mapper on the specified host. If you do not specify a node (computer) name, the program queries the port mapper on the local host.

/b <Program Version>

Requests a response from all network nodes that have the specified program and version registered with the port mapper. You must specify both a program name or number and a version number.

/t <Node Program> [<Version>]

Uses the TCP transport protocol to call the specified program. You must specify both a node (computer) name and a program name. If you do not specify a version, the program calls all versions.

/u <Node Program> [<Version>]

Uses the UDP transport protocol to call the specified program. You must specify both a node (computer) name and a program name. If you do not specify a version, the program calls all versions.

/?

Displays Help at the command prompt.

Examples

To list all programs registered with the port mapper, type:

rpcinfo /p [<Node>]

To request a response from network nodes that have a specified program, type:

rpcinfo /b <Program Version>

To use Transmission Control Protocol (TCP) to call a program, type:

rpcinfo /t <Node Program> [<Version>]

Use User Datagram Protocol (UDP) to call a program:

rpcinfo /u <Node Program> [<Version>]

Additional references