A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/dotnet/api/system.management.automation.commandtypes below:

CommandTypes Enum (System.Management.Automation) | Microsoft Learn

CommandTypes Enum Definition
Namespace:
System.Management.Automation
Assembly:
System.Management.Automation.dll
Package:
Microsoft.PowerShell.5.1.ReferenceAssemblies v1.0.0
Package:
System.Management.Automation v7.0.13
Package:
System.Management.Automation v7.1.7
Package:
System.Management.Automation v7.2.12
Package:
System.Management.Automation v7.3.5
Package:
System.Management.Automation v7.4.0
Package:
Microsoft.WSMan.Runtime v6.1.0
Package:
Microsoft.WSMan.Runtime v6.2.0

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Defines the types of commands that PowerShell can execute.

This enumeration supports a bitwise combination of its member values.

public enum class CommandTypes
[System.Flags]
public enum CommandTypes
[<System.Flags>]
type CommandTypes = 
Public Enum CommandTypes
Inheritance
Attributes
Fields Name Value Description Alias 1

Aliases create a name that refers to other command types. Aliases are only persisted within the execution of a single engine.

Function 2

Script functions that are defined by a script block. Functions are only persisted within the execution of a single engine.

Filter 4

Script filters that are defined by a script block. Filters are only persisted within the execution of a single engine.

Cmdlet 8

A cmdlet.

ExternalScript 16

An PowerShell script (*.ps1 file)

Application 32

Any existing application (can be console or GUI). An application can have any extension that can be executed either directly through CreateProcess or indirectly through ShellExecute.

Script 64

A script that is built into the runspace configuration.

Workflow 128

A workflow

Configuration 256

A Configuration.

All 511

All possible command types. NOTE: a CommandInfo instance will never specify All as its CommandType but All can be used when filtering the CommandTypes.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4