Applies To: Windows Server 2008 R2,Windows Server 2008,Windows 7,Windows Vista

Displays a list of the available commands or detailed help information on a specified command.

For examples of how this command can be used, see Examples.

Syntax

 Copy Code
help [<command>]

Parameters

Parameter Description

<command>

Specifies the command for which to display detailed help information.

Remarks

  • If no command is specified, help will display all possible commands.

Examples

To display a list of all commands available in DiskPart, type:

 Copy Code
help

To display detailed help information about how to use the create partition primary command in DiskPart, type:

 Copy Code
help create partition primary

Additional references