This topic has not yet been rated - Rate this topic

CommandTypes Enumeration

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Defines the types of commands that Windows PowerShell can execute.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
'Usage
Dim instance As CommandTypes

[FlagsAttribute] 
public enum CommandTypes
/** @attribute FlagsAttribute() */ 
public enum CommandTypes
FlagsAttribute 
public enum CommandTypes
Member name Description
Alias The command is an alias that refers to another command.
All The command can be any type of command.
Application The command is an existing application (can be a console or GUI).
Cmdlet The command is a cmdlet.
ExternalScript The command is a Windows PowerShell script (*.ps1 files).
Filter The command is a script filter that is defined by a script block.
Function The command is a script function that is defined by a script block.
Script The command is a scripts built into the runspace configuration.
Workflow  

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)