System.Management.Automation Namespace

Classes

ActionPreferenceStopException

ActionPreferenceStopException indicates that the command stopped due to the ActionPreference.Stop or Inquire policy.

AliasAttribute

Declares an alternative name for a parameter

AliasInfo

Provides information about a mapping between a command name and a real command.

AllowEmptyCollectionAttribute

Allows an empty collection as the argument to a mandatory collection parameter

AllowEmptyStringAttribute

Allows an empty string as the argument to a mandatory string parameter

AllowNullAttribute

Allows a NULL as the argument to a mandatory parameter

ApplicationFailedException

Defines the exception that is thrown if a native command fails.

ApplicationInfo

Provides information for applications that are not directly executable by Monad.

ArgumentCompleterAttribute
ArgumentTransformationAttribute

Serves as the base class for attributes that perform argument transformation.

ArgumentTransformationMetadataException

Defines the exception thrown for all ArgumentTransformation attributes

AuthorizationManager

Defines the base class for an authorization manager of a Runspace.

        An authorization manager helps a host control and restrict the
        execution of commands.  For each of the command types listed in
        the <xref href="System.Management.Automation.CommandTypes"></xref>
        enumeration, the engine requests permission from the AuthorizationManager
        to run the command.

        Extending this class requires that you override the ShouldRun method with
        the logic specific to your needs.  The base class gives permission to run 
        every command.  The default 
        Microsoft.PowerShell.PSAuthorizationManager
        provides a customized and much more complete authorization policy.
BackgroundDispatcher

A simple implementation of IBackgroundDispatcher.

BreakException
Breakpoint

Holds the information for a given breakpoint

BreakpointUpdatedEventArgs

Arguments for the BreakpointUpdated event.

CallStackFrame

A call stack item returned by the Get-PSCallStack cmdlet.

ChildItemCmdletProviderIntrinsics

Exposes the Children noun of the Cmdlet Providers to the Cmdlet base class. The methods of this class use the providers to perform operations.

ClassOps
Cmdlet

Defines members and overrides used by Cmdlets. All Cmdlets must derive from Cmdlet.

CmdletAttribute

Identifies a class as a cmdlet and specifies the verb and noun identifying this cmdlet.

CmdletBindingAttribute

Identifies PowerShell script code as behaving like a cmdlet and hence uses cmdlet parameter binding instead of script parameter binding.

CmdletCommonMetadataAttribute

Contains information about a cmdlet's metadata.

CmdletInfo

The command information for MSH cmdlets that are directly executable by MSH

CmdletInvocationException

Indicates that a cmdlet hit a terminating error.

CmdletProviderInvocationException

Indicates that a cmdlet hit a terminating error of type ProviderInvocationException. This is generally reported from the standard provider navigation cmdlets such as get-childitem.

CmdletProviderManagementIntrinsics

Exposes the APIs to manage the Cmdlet Providers the Cmdlet base class. The methods of this class get and set provider data in session state.

CmsMessageRecipient
CommandBreakpoint

A breakpoint on a command

CommandCompletion

Provides a set of possible completions for given input.

CommandInfo

The base class for the information about commands. Contains the basic information about the command, like name and type.

CommandInvocationIntrinsics

Interfaces that cmdlets can use to build script blocks and execute scripts.

CommandLookupEventArgs

EventArgs for the ScriptCmdletVariableUpdate event

CommandMetadata

This class represents the compiled metadata for a command type.

CommandNotFoundException

This exception is thrown when a command cannot be found.

CommandParameterInfo

Provides information about a cmdlet parameter for a particular parameter set.

CommandParameterSetInfo

The information about a parameter set and its parameters for a cmdlet

CompletionCompleters
CompletionResult

Class used to store a tab completion or Intellisense result

ConfigurationInfo
ContainerParentJob

Top level container job

ContentCmdletProviderIntrinsics

Exposes the Content nouns to the Cmdlet Providers to the Cmdlet base class. The methods of this class use the providers to perform operations.

ContinueException
ConvertThroughString

Enables a type that only has conversion from string to be converted from all other types through string

CredentialAttribute

Defines the attribute used to designate a cmdlet parameter as one that should accept credentials.

CustomPSSnapIn

Raw mshsnapin is a class for allowing mshsnapin developers to directly specify the set of cmdlets, providers, types, formats, assemblies available in the mshsnapin.

        To use this class, mshsnapin developers will drive from it and fill
        in details about cmdlet, provider, type, format, assemblies. 

        This class will also facilitate the registration of the mshsnapin 
        through installutil.exe. 

        This class will be built with monad core engine dll.
DataAddedEventArgs

Event arguments passed to PSDataCollection DataAdded handlers.

DataAddingEventArgs

Event arguments passed to PSDataCollection DataAdding handlers.

Debugger

Holds the debugging information for a Monad Shell session

DebuggerCommandResults
DebuggerStopEventArgs

Arguments for the DebuggerStop event.

DebugRecord

A debug record in the PSInformationalBuffers.

DebugSource
DefaultParameterDictionary

A versionable hashtable, so the caching of UserInput -> ParameterBindingResult will work

DisplayEntry

One entry in a format display unit

DriveManagementIntrinsics

Exposes the Cmdlet Family Provider's drives to the Cmdlet base class. The methods of this class get and set provider data in session state.

DriveNotFoundException

DriveNotFoundException occurs when no drive can be found with the specified name.

DscLocalConfigurationManagerAttribute
DscPropertyAttribute
DscResourceAttribute
DscResourceInfo
DscResourcePropertyInfo
DynamicClassImplementationAssemblyAttribute
EngineIntrinsics

Exposes the Engine APIs for a particular instance of the engine

ErrorCategoryInfo

Contains auxiliary information about an ErrorRecord

ErrorDetails

additional details about an ErrorRecord

ErrorRecord

Represents an error.

ExitException

Implements the exit keyword.

ExtendedTypeDefinition

Specifies additional type definitions for an object

ExtendedTypeSystemException

Defines the exception thrown for all Extended type system related errors

ExternalScriptInfo

Provides information for MSH scripts that are directly executable by MSH but are not built into the runspace configuration.

FilterInfo

Provides information about a filter that is stored in session state.

FlagsExpression<T>

Takes as input a collection of strings and builds an expression tree from the input. At the evaluation stage, it walks down the tree and evaluates the result.

FlowControlException
FormatViewDefinition

Defines a formatting view for a particular type

ForwardedEventArgs

Event argument associated with the event fired in a remote runspace and forwarded to the current runspace.

FunctionInfo

Provides information about a function that is stored in session state.

GettingValueExceptionEventArgs

Serves as the arguments for events triggered by exceptions in the GetValue method of PSObjectPropertyDescriptor

GetValueException

Defines the exception thrown for errors getting the value of properties

GetValueInvocationException

Defines the exception thrown for exceptions thrown by property getters

HaltCommandException

A cmdlet/provider should throw HaltCommandException when it wants to terminate the running command without this being considered an error.

HiddenAttribute
HostInformationMessage
HostUtilities

Implements utility methods that might be used by Hosts.

IncompleteParseException

Defines the exception thrown when a incomplete parse error occurs while parsing msh script text.

InformationalRecord

Base class for items in the PSInformationalBuffers.

        A PSInformationalRecord consists of a string Message and the InvocationInfo and pipeline state corresponding 
        to the command that created the record.
InformationRecord
InvalidJobStateException

Defines exception which is thrown when state of the PSJob is different from the expected state.

InvalidPowerShellStateException

Defines exception which is thrown when state of the PowerShell is different from the expected state.

InvocationInfo

Describes how and where this command was invoked

ItemCmdletProviderIntrinsics

Exposes the Item noun of the Cmdlet Providers to the Cmdlet base class. The methods of this class use the providers to perform operations.

ItemNotFoundException

ItemNotFoundException occurs when the path contained no wildcard characters and an item at that path could not be found.

Job

Represents a command running in background. A job object can internally contain many child job objects.

Job2

New base class for a job that provides extended state management functionality on the job. Since the existing Job class is an abstract class and there are existing implementations of the same, it is required to have a new class that will have the extended functionality. This is to ensure that backwards compatibility is maintained

        However, this class will derive from the existing Job
        class. The option of deprecating the existing class was
        considered as well. In order to maintain backwards
        compatibility of PowerShell job cmdlets they will have
        to work with the old interface and hence deprecating
        the Job class did not add any benefit rather than
        deriving from the same
JobDataAddedEventArgs

Event arguments that indicate data has been added to a child job.

JobDefinition

Contains the definition of a job which is defined in a job store

JobFailedException

Container exception for jobs that can map errors and exceptions to specific lines in their input.

JobIdentifier

Object that must be created by PowerShell to allow reuse of an ID for a job. Also allows setting of the Instance Id so that jobs may be recreated.

JobInvocationInfo

Class that helps define the parameters to be passed to a job so that the job can be instantiated without having to specify the parameters explicitly. Helps in passivating job parameters to disk

JobManager

Manager for JobSourceAdapters for invocation and management of specific Job types.

JobRepository

class which has list of job objects currently active in the system.

JobSourceAdapter

Abstract class for a job store which will contain the jobs of a specific type.

JobStateEventArgs

Event arguments passed to JobStateEvent handlers StateChanged event.

JobStateInfo

Type which has information about JobState and Exception ,if any, associated with JobState

LanguagePrimitives

Defines language support methods

LineBreakpoint

A breakpoint on a line or statement

ListControl

Defines a list control

ListControlEntry

Defines one entry in a list control

ListControlEntryItem

Defines one row in a list control entry

LoopFlowException
MetadataException

Defines the exception thrown for all Metadata errors

MethodException

Defines the exception thrown for Method related errors

MethodInvocationException

Defines the exception thrown for Method invocation exceptions

ModuleIntrinsics

Encapsulates the basic module operations for a PowerShell engine instance...

OutputTypeAttribute

OutputTypeAttribute is used to specify the type of objects output by a cmdlet or script.

PagingParameters

The parameters for the paging support enabled by SupportsPaging. Includes: -IncludeTotalCount, -Skip [int], -First [int]

ParameterAttribute

Identifies parameters to Cmdlets

ParameterBindingException

The exception thrown if the specified value can not be bound parameter of a command.

ParameterMetadata

This class represents the compiled metadata for a parameter.

ParameterSetMetadata

This class represents the compiled metadata for a parameter set.

ParentContainsErrorRecordException

ParentContainsErrorRecordException is the exception contained by the ErrorRecord which is associated with a Monad engine custom exception through the IContainsErrorRecord interface.

ParseException

Defines the exception thrown when a syntax error occurs while parsing msh script text.

ParsingMetadataException

Defines the exception thrown for all parameter binding exceptions related to metadata attributes

PathInfo

An object that represents a path.

PathInfoStack

An object that represents a stack of paths.

PathIntrinsics

Exposes the path manipulation and location APIs to the Cmdlet base class.

PipelineClosedException

PipelineClosedException occurs when someone tries to write to an asynchronous pipeline source and the pipeline has already been stopped.

PipelineDepthException

PipelineDepthException occurs when the number of commands participating in a pipeline (object streaming) exceeds the configured maximum.

PipelineStoppedException

Indicates that the pipeline has already been stopped.

PowerShell

Represents a PowerShell command or script to execute against a Runspace(Pool) if provided, otherwise execute using a default Runspace. Provides access to different result buffers like output, error, debug, verbose, progress and warning.

        Provides a simple interface to execute a powershell command:
        <pre><code>
           Powershell.Create("get-process").Invoke();
        </code></pre>
        The above statetement creates a local runspace using default
        configuration, executes the command and then closes the runspace.

        Using RunspacePool property, the caller can provide the runspace
        where the command / script is executed.
PowerShellStreams<TInput,TOutput>

Define all the output streams and one input stream for a workflow.

ProgressRecord

Defines a data structure used to represent the status of an ongoing operation at a point in time.

PropertyCmdletProviderIntrinsics

Exposes the Property noun of the Cmdlet Providers to the Cmdlet base class. The methods of this class use the providers to perform operations.

PropertyNotFoundException

Defines the exception thrown for errors getting the value of properties

ProviderCmdlet

Providers that want to specify OutputType can use these strings for the ProviderCmdlet parameter.

ProviderInfo

Information about a loaded Cmdlet Provider

ProviderIntrinsics

Exposes the Cmdlet Family Providers to the Cmdlet base class. The methods of this class use the providers to perform operations.

ProviderInvocationException

An exception that wraps all exceptions that are thrown by providers. This allows callers of the provider APIs to be able to catch a single exception no matter what any of the various providers may have thrown.

ProviderNameAmbiguousException

ProviderNameAmbiguousException occurs when more than one provider exists for a given name and the request did not contain the PSSnapin name qualifier.

ProviderNotFoundException

ProviderNotFoundException occurs when no provider can be found with the specified name.

ProxyCommand

A ProxyCommand class used to represent a Command constructed Dynamically

PSAdaptedProperty

A property created by a user-defined PSPropertyAdapter

PSAliasProperty

Serves as an alias to another member

PSArgumentException

This is a wrapper for exception class ArgumentException which provides additional information via IContainsErrorRecord.

PSArgumentNullException

This is a wrapper for exception class ArgumentNullException which provides additional information via IContainsErrorRecord.

PSArgumentOutOfRangeException

This is a wrapper for exception class ArgumentOutOfRangeException which provides additional information via IContainsErrorRecord.

PSChildJobProxy

Job class used for children of PSJobProxy jobs.

PSClassInfo
PSClassMemberInfo
PSCmdlet

Defines members used by Cmdlets. All Cmdlets must derive from Cmdlet.

PSCodeMethod

Serves as a method implemented with a reference to another method.

PSCodeProperty

Serves as a property implemented with references to methods for getter and setter.

PSCommand

Defines a PowerShell command / script object which can be used with PowerShell object.

PSControl

Defines a control for the formatting types defined by PowerShell

PSCredential

Offers a centralized way to manage usernames, passwords, and credentials.

PSCustomObject

Serves as a placeholder BaseObject when PSObject's constructor with no parameters is used.

PSDataCollection<T>

build Thread Safe buffer used with PowerShell Hosting interfaces.

PSDataStreams

Streams generated by PowerShell invocations

PSDebugContext

This class exposes the information about the debugger that is available via $PSDebugContext

PSDefaultValueAttribute

Specify a default value and/or help comment for a command parameter. This attribute does not have any semantic meaning, it is simply an aid to tools to make it simpler to know the true default value of a command parameter (which may or may not have any correlation with, e.g., the backing store of the Parameter's property or field.

PSDriveInfo

Defines a drive that exposes a provider path to the user.

PSDynamicMember

A dynamic member

PSEngineEvent

Constants that represent PowerShell engine events

PSEvent

Used to access the adapted or base events from the BaseObject

PSEventArgs

The event arguments associated with an event

PSEventArgsCollection

This class contains the collection of events received by the execution context.

PSEventHandler

The generic event handler from which specific event handlers extend. When possible, add functionality to this class instead of the IL generated by the GenerateEventHandler() method.

PSEventJob

A class to give a job-like interface to event actions

PSEventManager

Represents the interface to the PowerShell eventing functionality. This class allows you to subscribe to, and receive events.

PSEventSubscriber

Represents a subscriber to an event

PSEventUnsubscribedEventArgs

The event arguments associated with unsubscribing from an event

PSInstaller

PSInstaller is a class for facilitating installation of monad engine and monad PSSnapin's.

        This class implements installer api from CLR. At install
        time, installation utilities (like InstallUtil.exe) will 
        call api implementation functions in this class automatically. 
        This includes functions like Install, Uninstall, Rollback
        and Commit. 

        This class is an abstract class for handling installation needs
        that are common for all monad components, which include, 

            1. accessing system registry
            2. support of additional command line parameters. 
            3. writing registry files
            4. automatically extract informaton like vender, version, etc.

        Different monad component will derive from this class. Two common
        components that need install include, 

            1. PSSnapin. Installation of PSSnapin will require information 
               about PSSnapin assembly, version, vendor, etc to be 
               written to registry.

            2. Engine. Installation of monad engine will require information
               about engine assembly, version, CLR information to be
               written to registry.
PSInvalidCastException

Defines the exception thrown for type conversion errors

PSInvalidOperationException

This is a wrapper for exception class InvalidOperationException which provides additional information via IContainsErrorRecord.

PSInvocationSettings

Settings to control command invocation.

PSInvocationStateChangedEventArgs

Event arguments passed to PowerShell state change handlers InvocationStateChanged event.

PSInvocationStateInfo

Type which has information about InvocationState and Exception associated with InvocationState

PSJobProxy

Class that will serve as the API for hosting and executing workflows in PowerShell. This class will have a behavior similar to how the Runspace and PowerShell APIs behave in the remoting scenario. The objects on the client side act as proxies to the real objects on the server

PSJobStartEventArgs
PSListModifier

PSListModifier is a simple helper class created by the update-list cmdlet. The update-list cmdlet will either return an instance of this class, or it will internally use an instance of this class to implement the updates.

         Cmdlets can also take a PSListModifier as a parameter.  Usage might look like:

             Get-Mailbox | Set-Mailbox -Alias @{Add='jim'}

         Alias would take a PSListModifier and the Cmdlet code would be responsible
         for apply updates (possibly using PSListModifier.ApplyTo or else using custom logic).
PSListModifier<T>

A generic version of PSListModifier that exists for the sole purpose of making cmdlets that accept a PSListModifier more usable. Users that look at the syntax of the command will see something like PSListModifier[Mailbox] and know they need to pass in Mailboxes.

PSMemberInfo

Serves as the base class for all members of an PSObject

PSMemberInfoCollection<T>

Serves as the collection of members in an PSObject or MemberSet

PSMemberSet

Serves as a set of members

PSMethod

Used to access the adapted or base methods from the BaseObject

PSMethodInfo

Serves as a base class for all members that behave like methods.

PSModuleInfo

Class describing a PowerShell module...

PSNoteProperty

Serves as a property that is a simple name-value pair.

PSNotImplementedException

This is a wrapper for exception class NotImplementedException which provides additional information via IContainsErrorRecord.

PSNotSupportedException

This is a wrapper for exception class NotSupportedException which provides additional information via IContainsErrorRecord.

PSObject

Wraps an object providing alternate views of the available members and ways to extend them. Members can be methods, properties, parameterized properties, etc.

PSObjectDisposedException

This is a wrapper for exception class ObjectDisposedException which provides additional information via IContainsErrorRecord.

PSObjectPropertyDescriptor

Serves as the property information generated by the GetProperties method of PSObjectTypeDescriptor.

PSObjectTypeDescriptionProvider

Retrieves a PSObjectTypeDescriptor to provides information about the properties for an object of the type PSObject.

PSObjectTypeDescriptor

Provides information about the properties for an object of the type PSObject.

PSParameterizedProperty

Used to access parameterized properties from the BaseObject

PSParseError

This is a class that represents a syntax error from parsing.

PSParser

PSParser class

PSPrimitiveDictionary

PSPrimitiveDictionary is a Hashtable that is limited to 1) case-insensitive strings as keys and 2) values that can be serialized and deserialized during PowerShell remoting handshake (in major-version compatible versions of PowerShell remoting)

PSProperty

Used to access the adapted or base properties from the BaseObject

PSPropertyAdapter

User-defined property adapter

PSPropertyInfo

Serves as a base class for all members that behave like properties.

PSPropertySet

Serves as a list of property names

PSReference

Define type for a reference object in Monad scripting language.

PSScriptMethod

Serves as a method implemented with a script

PSScriptProperty

Serves as a property implemented with getter and setter scripts.

PSSecurityException

This is a wrapper for exception class SecurityException

PSSerializer

This class provides public functionality for serializing a PSObject

PSSessionTypeOption

This is the base class from which other classes should derive. This class defines the options for the specified configuration type.

PSSnapIn

MshSnapin is a class for regular mshsnapin's which is constructed based on mshsnapin assembly.

         This class derives from PSSnapInInstaller and will be used as the base
         for all regular mshsnapins.
PSSnapInInfo

Contains information about a mshsnapin

PSSnapInInstaller

MshSnapinBase (or MshSnapinInstaller) is a class for facilitating registry of necessary information for monad mshsnapin's.

        This class will be built with monad core engine dll 
        (System.Management.Automation.dll). 

        This is the base class for two kinds of mshsnapins: MshSnapin and CustomMshSnapin.

        Each mshsnapin assembly should derive from this class (indirectly) and fill 
        in information about mshsnapin name, vendor, and version. 

        At install time, installation utilities (like InstallUtil.exe) will 
        call install this engine assembly based on the implementation in
        this class. 

        This class derives from base class PSInstaller. PSInstaller will 
        handle the details about how information got written into registry. 
        Here, the information about registry content is provided. 

        The reason of not calling this class MshSnapinInstaller is to "hide" the details 
        that MshSnapin class is actually doing installion. It is also more intuitive
        since people deriving from this class will think there are really 
        implementing a class for mshsnapin.
PSSnapInSpecification

Defines the name and version tuple of a PSSnapin

PSToken

This is public class for representing a powershell token.

PSTraceSource

An PSTraceSource is a representation of a System.Diagnostics.TraceSource instance that is used the the Monad components to produce trace output.

PSTransaction

Represents an active transaction

PSTransactionContext

Supports the transaction management infrastructure for the PowerShell engine

PSTransportOption

This the abstract class that defines the options for underlying transport layer.

PSTypeConverter

Defines a base class implemented when you need to customize the type conversion for a target class.

PSTypeName

Represents Type, but can be used where a real type might not be available, in which case the name of the type can be used.

PSTypeNameAttribute

Specifies PSTypeName of a cmdlet or function parameter.

PSVariable

Represents a variable in the PowerShell language.

PSVariableIntrinsics

Exposes the APIs to manipulate variables in the Runspace.

PSVariableProperty

Serves as a property that is a simple name-value pair.

ReadOnlyPSMemberInfoCollection<T>

Serves as a read only collection of members

RedirectedException

Indicates that a success object was written and success-to-error ("1>&2") has been specified.

RegisterArgumentCompleter
RemoteCommandInfo

A CommandInfo that has been serialized/deserialized as part of an InvocationInfo during a remote invocation.

RemoteException

Exception used to wrap the error coming from remote instance of Msh.

Repository<T>

class which has list of job objects currently active in the system.

RunspaceInvoke

Defines a class which allows simple execution of commands from CLR languages

RunspacePoolStateInfo

Defines type which has information about RunspacePoolState and exception associated with that state

RunspaceRepository

Repository of remote runspaces available in a local runspace

RuntimeDefinedParameter

Represents a parameter declaration that can be constructed at runtime.

RuntimeDefinedParameterDictionary

Represents a collection of runtime-defined parameters that are keyed based on the name of the parameter.

RuntimeException

RuntimeException is the base class for exceptions likely to occur while a Monad command is running.

ScriptBlock

An object representing a pre-compiled block of powershell script.

ScriptBlockMemberMethodWrapper
ScriptBlockToPowerShellNotSupportedException

Defines the exception thrown when conversion from ScriptBlock to PowerShell is forbidden (i.e. when the script block has undeclared variables or more than one statement)

ScriptCallDepthException

ScriptCallDepthException occurs when the number of session state objects of this type in this scope exceeds the configured maximum.

ScriptInfo

The command information for MSH scripts that are directly executable by MSH

ScriptRequiresException

Defines the exception thrown when a script's requirements to run specified by the #requires statements are not met.

SecurityDescriptorCmdletProviderIntrinsics

Provides the *-SecurityDescriptor noun for the cmdlet providers.

SessionState

Exposes the APIs to manipulate the providers, Runspace data, and location to the Cmdlet base class.

SessionStateException

SessionStateException represents an error working with session state objects: variables, aliases, functions, filters, drives, or providers.

SessionStateOverflowException

SessionStateOverflowException occurs when the number of session state objects of this type in this scope exceeds the configured maximum.

SessionStateUnauthorizedAccessException

SessionStateUnauthorizedAccessException occurs when a change to a session state object cannot be completed because the object is read-only or constant, or because an object which is declard constant cannot be removed or made non-constant.

SettingValueExceptionEventArgs

Serves as the arguments for events triggered by exceptions in the SetValue method of PSObjectPropertyDescriptor

SetValueException

Defines the exception thrown for errors setting the value of properties

SetValueInvocationException

Defines the exception thrown for exceptions thrown by property setters

Signature

Represents a digital signature on a signed file.

SteppablePipeline

A steppable pipeline wrapper object...

SupportsWildcardsAttribute

Specifies that a parameter supports wildcards.

TableControl

Defines a table control

TableControlColumn

Defines a particular column within a row in a table control

TableControlColumnHeader

Defines the header for a particular column in a table control

TableControlRow

Defines a single row in a table control

ValidateArgumentsAttribute

Serves as the base class for Validate attributes that validate parameter arguments.

ValidateCountAttribute

Validates that the parameter argument count is in the specified range

ValidateEnumeratedArgumentsAttribute

A variant of ValidateArgumentsAttribute which unrolls enumeration values and validates each element individually.

ValidateLengthAttribute

Validates that the length of each parameter argument's Length falls in the range specified by MinLength and MaxLength

ValidateNotNullAttribute

Validates that the parameters's argument is not null

ValidateNotNullOrEmptyAttribute

Validates that the parameters's argument is not null, is not an empty string, and is not an empty collection.

ValidatePatternAttribute

Validates that each parameter argument matches the RegexPattern

ValidateRangeAttribute

Validates that each parameter argument falls in the range specified by MinRange and MaxRange

ValidateScriptAttribute

Class for validating against a script block.

ValidateSetAttribute

Validates that each parameter argument is present in a specified set

ValidationMetadataException

Defines the exception thrown for all Validate attributes

VariableBreakpoint

A breakpoint on a variable

VariablePath

A variable path that you can query the scope and drive of the variable reference.

VerboseRecord

A verbose record in the PSInformationalBuffers.

VerbsCommon

Verbs that are commonly used in cmdlet names.

VerbsCommunications

Verbs that are commonly used in cmdlet names when the cmdlet is used to communicate with something.

VerbsData

Verbs that are commonly used in cmdlet names when the cmdlet manipulates data.

VerbsDiagnostic

Verbs that are commonly used in cmdlet names when the cmdlet is used to diagnose the health of something.

VerbsLifecycle

Verbs that are commonly used in cmdlet names when the cmdlet manipulates the lifecycle of something.

VerbsOther

Canonical verbs that don't fit into any of the other categories.

VerbsSecurity

Verbs that are commonly used in cmdlet names when the cmdlet is used to secure a resource.

WarningRecord

A warning record in the PSInformationalBuffers.

WideControl

Defines a list control

WideControlEntryItem

Defines one item in a wide control entry

WildcardPattern

Represents a wildcard pattern.

WildcardPatternException

Thrown when a wildcard pattern is invalid.

WorkflowInfo

Provides information about a workflow that is stored in session state.

Structs

SwitchParameter

Type used to define a parameter on a cmdlet script of function that can only be used as a switch.

Interfaces

IArgumentCompleter
IBackgroundDispatcher

An object that can be used to execute a method on a threadpool thread while correctly managing system state, such as flowing ETW activities from the current thread to the threadpool thread.

ICommandRuntime

This interface defines the set of functionality that must be implemented to directly execute an instance of a Cmdlet.

ICommandRuntime2
IContainsErrorRecord

Implemented by exception classes which contain additional ErrorRecord information.

IDynamicParameters

An interface that a Cmdlet or CmdletProvider must implement to indicate that it has dynamic parameters.

IJobDebugger
IModuleAssemblyCleanup
IModuleAssemblyInitializer

Used by Modules/Snapins to provide a hook to the engine for startup initialization w.r.t compiled assembly loading.

IResourceSupplier

Objects implementing this interface can be used by System.Management.Automation.ErrorDetails.

Enums

ActionPreference

Defines the Action Preference options. These options determine what will happen when a particular type of event occurs. For example, setting shell variable ErrorActionPreference to "Stop" will cause the command to stop when an otherwise non-terminating error occurs.

Alignment

Specifies possible alignment enumerations for display cells

BreakpointUpdateType

Kinds of breakpoint updates

CommandOrigin

This enum defines the dispatch origin of a command.

CommandTypes

Defines the types of commands that MSH can execute

CompletionResultType

Possible types of CompletionResults

ConfirmImpact

Defines the ConfirmImpact levels. These levels describe the "destructiveness" of an action, and thus the degree of important that the user confirm the action. For example, setting the read-only flag on a file might be Low, and reformatting a disk might be High. These levels are also used in $ConfirmPreference to describe which operations should be confirmed. Operations with ConfirmImpact equal to or greater than $ConfirmPreference are confirmed. Operations with ConfirmImpact.None are never confirmed, and no operations are confirmed when $ConfirmPreference is ConfirmImpact.None (except when explicitly requested with -Confirm).

CopyContainers

Determines how the source container of a copy operation will be used.

DebuggerResumeAction

Possible actions for the debugger after hitting a breakpoint/step

DebugModes
DisplayEntryValueType

Specifies the type of entry value

ErrorCategory

Errors reported by Monad will be in one of these categories.

ImplementedAsType
JobState

Enumeration for job status values. Indicates the status of the result object

JobThreadOptions

Specifies the various thread options that can be used for the ThreadBasedJob

ModuleAccessMode

Defines the possible access modes for a module...

ModuleType

Indicates the type of a module.

PowerShellStreamType

Job data is added to one of these streams. Each type of data implies a different type of object.

ProgressRecordType

Defines two types of progress record that refer to the beginning (or middle) and end of an operation.

PSCredentialTypes

Defines the valid types of MSH credentials. Used by PromptForCredential calls.

PSCredentialUIOptions

Defines the options available when prompting for credentials. Used by PromptForCredential calls.

PSInvocationState

Enumerated type defining the state of the PowerShell

PSLanguageMode

This enum defines what subset of the PowerShell language is permitted when calling into this execution environment.

PSMemberTypes

Enumerates all possible types of members

PSMemberViewTypes

Enumerator for all possible views available on a PSObject.

PSModuleAutoLoadingPreference

Defines the preference options for the Module Auto-loading feature

PSTokenType

PowerShell token types.

PSTraceSourceOptions

These flags enable tracing based on the types of a tracing supplied. Each type of tracing will allow for one or more methods in the StructuredTraceSource class to become "enabled".

PSTransactionStatus

The status of a PowerShell transaction.

RemoteStreamOptions

These flags control whether InvocationInfo is added to items in the Error, Warning, Verbose and Debug streams during remote calls

RemotingBehavior

Controls or overrides the remoting behavior, during invocation, of a command that supports ambient remoting.

RemotingCapability

Defines the various types of remoting behaviour that a cmdlet may desire when used in a context that supports ambient / automatic remoting.

ResolutionPurpose
ReturnContainers

This enum determines which types of containers are returned from some of the provider methods.

RollbackSeverity

The severity of error that causes PowerShell to automatically rollback the transaction.

RunspaceMode

Enumerated type defining runspace modes for nested pipeline

ScopedItemOptions

The options that define some of the constraints for session state items like variables, aliases, and functions.

SessionCapabilities

Defines session capabilities provided by a PowerShell session

SessionStateCategory

Categories of session state objects, used by SessionStateException

SessionStateEntryVisibility

This enum defines the visiblity of execution environment elements...

ShouldProcessReason

This describes the reason why ShouldProcess returned what it returned. Not all possible reasons are covered.

SignatureStatus

Defines the valid status flags that a signature on a file may have.

SignatureType
SigningOption

Defines the options that control what data is embedded in the signature blob

SplitOptions

A enum corresponding to the options on the -split operator.

VariableAccessMode

The access type for variable breakpoints to break on

WhereOperatorSelectionMode
WildcardOptions

Provides enumerated values to use to set wildcard pattern matching options.

Delegates

GetSymmetricEncryptionKey

Declare a delegate which returns the encryption key and initialization vector for symmetric encryption algorithem.

PSEventReceivedEventHandler

The delegate that handles notifications of new events added to the collection

PSEventUnsubscribedEventHandler

The delegate that handles notifications of the event being unsubscribed