Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CommandTypes Enumeration

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Defines the types of commands that Windows PowerShell can execute.

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

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

[FlagsAttribute]
public enum CommandTypes

Member nameDescription
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

A 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

Return to top
Show: