Updated: April 17, 2012

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, 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.

help [<command>]


Parameter Description


Specifies the command for which to display detailed help information.

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

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


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

help create partition primary

Community Additions