Defines the types of commands that MSH can execute
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[System.Flags] public enum CommandTypes
type CommandTypes =
Public Enum CommandTypes
|Alias Alias Alias||
Aliases create a name that refers to other command types
|All All All||
All possible command types.
|Application Application Application||
Any existing application (can be console or GUI).
|Cmdlet Cmdlet Cmdlet||
|Configuration Configuration Configuration||
|ExternalScript ExternalScript ExternalScript||
An MSH script (*.ps1 file)
|Filter Filter Filter||
Script filters that are defined by a script block.
|Function Function Function||
Script functions that are defined by a script block
|Script Script Script||
A script that is built into the runspace configuration
|Workflow Workflow Workflow||