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.

[System.Flags]
public enum CommandTypes
Inheritance
CommandTypes
Attributes

Fields

Alias

Aliases create a name that refers to other command types

All

All possible command types.

Application

Any existing application (can be console or GUI).

Cmdlet

A cmdlet.

Configuration
ExternalScript

An MSH script (*.ps1 file)

Filter

Script filters that are defined by a script block.

Function

Script functions that are defined by a script block

Script

A script that is built into the runspace configuration

Workflow

A workflow