Updated: April 17, 2012

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

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>]




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