CommandTypes CommandTypes CommandTypes CommandTypes Enum

Definition

Defines the types of commands that MSH can execute

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum class CommandTypes
[System.Flags]
public enum CommandTypes
type CommandTypes = 
Public Enum CommandTypes
Inheritance
CommandTypesCommandTypesCommandTypesCommandTypes
Attributes

Fields

Alias Alias Alias Alias 1

Aliases create a name that refers to other command types

All All All All 511

All possible command types.

Application Application Application Application 32

Any existing application (can be console or GUI).

Cmdlet Cmdlet Cmdlet Cmdlet 8

A cmdlet.

Configuration Configuration Configuration Configuration 256

A Configuration

ExternalScript ExternalScript ExternalScript ExternalScript 16

An MSH script (*.ps1 file)

Filter Filter Filter Filter 4

Script filters that are defined by a script block.

Function Function Function Function 2

Script functions that are defined by a script block

Script Script Script Script 64

A script that is built into the runspace configuration

Workflow Workflow Workflow Workflow 128

A workflow

Applies to