System.Management.Automation Namespace
This is the root namespace for Windows PowerShell. It contains classes, enumerations, and interfaces. For example, cmdlet developers will use the Cmdlet and PSCmdlet base classes to implement custom cmdlet classes, and host application developers will use the PowerShell class to create runspaces and invoke commands.
| Class | Description |
|---|---|
| ActionPreferenceStopException | Exception thrown when the pipeline is stopped because of a Stop or Inquire policy. |
| AliasAttribute | Defines one or more user-friendly names for a cmdlet parameter. |
| AliasInfo | Provides information about an alias that is used to invoke a command, such as a description of the alias, the name of the command that the alias refers to, and the .NET Framework types returned by that command. |
| AllowEmptyCollectionAttribute | Allows an empty collection as the argument to a mandatory collection parameter. |
| AllowEmptyStringAttribute | Allows an empty string to be used as an argument for a mandatory string parameter. |
| AllowNullAttribute | Allows null as the argument of a mandatory cmdlet or function parameter. |
| ApplicationFailedException | The exception that is thrown when an application fails. |
| ApplicationInfo | Provides information about applications that are not directly executable by Windows PowerShell. |
| ArgumentTransformationAttribute | Serves as a base class for attributes that perform argument transformations. |
| ArgumentTransformationMetadataException | Exception that is thrown when the ArgumentTransformation attribute encounters an error. |
| AuthorizationManager | Represents an authorization manager for a runspace. |
| BackgroundDispatcher | Contains a simple implementation of IBackgroundDispatcher. |
| Breakpoint | Describes a breakpoint that is being used by the Windows PowerShell debugger. This class is introduced in Windows PowerShell 2.0. |
| BreakpointUpdatedEventArgs | Define the arguments for a BreakpointUpdated event. This class is introduced in Windows PowerShell 2.0. |
| CallStackFrame | Defines a single item of the call stack. Each item in the call stack is referred to as a frame. This class is introduced in Windows PowerShell 2.0. |
| ChildItemCmdletProviderIntrinsics | Exposes the child items of provider data stores to the cmdlet base class. |
| Cmdlet | Serves as a base class for derived cmdlets that do not depend on the Windows PowerShell runtime and that can be called directly from within another cmdlet. |
| CmdletAttribute | Identifies a .NET Framework class as a cmdlet, and defines the verb and noun name pair used to invoke the cmdlet. |
| CmdletBindingAttribute | Identifies a function as an advanced function that acts in a way that is similar to a cmdlet. This attribute is used by script developers when writing functions in place of writing compiled cmdlets. This class is introduced in Windows PowerShell 2.0. |
| CmdletCommonMetadataAttribute | Serves as a base class for attributes that specify cmdlet functionality, such as the Cmdlet and CmdletBinding attribute. This class is introduced in Windows PowerShell 2.0. |
| CmdletInfo | Provides information about a cmdlet, such as its definition (usage pattern), noun and verb name, and other information. |
| CmdletInvocationException | The exception that is thrown when a cmdlet encounters a terminating error. |
| CmdletProviderInvocationException | The exception that is thrown when a provider encounters a terminating error that originated with a provider. |
| CmdletProviderManagementIntrinsics | Provides access to information about the providers of a runspace. |
| CommandBreakpoint | Defines a breakpoint on a command. |
| CommandCompletion | Provides a set of possible completions for a given partial input. |
| CommandInfo | Serves as a base class for information classes that describe cmdlets, functions, scripts, and other types of commands. |
| CommandInvocationIntrinsics | Provides access to methods that cmdlets can use to build and run scripts. |
| CommandLookupEventArgs | Provides data for the events associated with command lookup methods in the CommandInvocationIntrinsics class. |
| CommandMetadata | Provides access to the metadata that describes a command, such as the name, type, and parameters of the command. This class is introduced in Windows PowerShell 2.0. |
| CommandNotFoundException | Exception thrown when a command cannot be found. |
| CommandParameterInfo | Provides information about a parameter for a particular parameter set. |
| CommandParameterSetInfo | Provides information about a parameter set of a cmdlet. |
| CompletionCompleters | Contains methods that enable strings to be completed through tab expansion or Intellisense. |
| CompletionResult | Represents a tab completion or Intellisense result. |
| ContainerParentJob | Represents a top-level container job. This class cannot be inherited. |
| ContentCmdletProviderIntrinsics | Exposes the content of data store items to the cmdlet base class. |
| ConvertThroughString | Enables the LanguagePrimitives.ConvertTo method to convert a type to another type by using a string conversion. |
| CredentialAttribute | Defines the attribute used to generate a PSCredential object. Typically this attribute is used by parameters of type PSCredential so that a string can also be passed as an argument to the parameter. |
| CustomPSSnapIn | Serves as a base class for snap-ins that are used to register a list of cmdlets and providers. (Be aware that Windows PowerShell 2.0 introduced support for modules, which is the preferred method to add cmdlets and providers.) |
| DataAddedEventArgs | Event arguments passed to DataAdded handlers of a PSDataCollection buffer. This class is introduced in Windows PowerShell 2.0. |
| DataAddingEventArgs | Provides data for the DataAdding event. |
| Debugger | Provides access to the Windows PowerShell debugger. This class is introduced in Windows PowerShell 2.0. |
| DebuggerStopEventArgs | Defines the arguments for the DebuggerStop event. This class is introduced in Windows PowerShell 2.0. |
| DebugRecord | Describes a debug message that was sent to the debug stream and information about the command that sent the message. This class is introduced in Windows PowerShell 2.0. |
| DefaultParameterDictionary | Contains a versionable dictionary of default parameters. This class cannot be inherited. |
| DisplayEntry | Represents an entry in a format display unit. This class is introduced in Windows PowerShell 2.0. |
| DriveManagementIntrinsics | Provides access to information for monitoring and managing the Windows PowerShell drives that are used by providers. |
| DriveNotFoundException | The exception that is thrown when a drive that is referenced by an operation could not be found. |
| EngineIntrinsics | Provides access to the command, provider, host, event manager, and session-state information for this instance of the Windows PowerShell runtime. |
| ErrorCategoryInfo | Provides access to the auxiliary information about an error. |
| ErrorDetails | Provides additional error information for an error record, such as a more detailed replacement error message. |
| ErrorRecord | Describes a terminating or nonterminating error that occurred during the processing of a command. |
| ExtendedTypeDefinition | Represents any additional .NET Framework type definitions for an object. This class is introduced in Windows PowerShell 2.0. |
| ExtendedTypeSystemException | Exception thrown when an extended type system (ETS) runtime error occurs. |
| ExternalScriptInfo | Provides information about Windows PowerShell scripts that are directly executable by Windows PowerShell but are not built into the runspace configuration. |
| FilterInfo | Provides information about a filter that is stored in the session state. |
| FlagsExpression | Takes as input a collection of strings and builds an expression tree. This class cannot be inherited. |
| FormatViewDefinition | Represents the formatting view for a .NET Framework type. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| ForwardedEventArgs | Provides access to a deserialized PSEventArgs object that describes an event that was raised from within a remote runspace and forwarded to the current runspace. This class is introduced in Windows PowerShell 2.0. |
| FunctionInfo | Contains information about a Windows PowerShell function that is available in the session state. |
| GettingValueExceptionEventArgs | Represents the arguments for events that are triggered when the GetValue method of a PSObjectPropertyDescriptor object throws an exception. |
| GetValueException | Exception thrown by the Windows PowerShell runtime if the member does not support a getter, such as a write only property. |
| GetValueInvocationException | The exception thrown by the underlying getter of a referenced member when it recognizes that an error has occurred while getting the value of an extended member (property, method, or parameterized property) of an object. |
| HaltCommandException | The exception thrown when the cmdlet or provider wants to terminate the running command without the error condition being considered an error. |
| IncompleteParseException | The exception that is thrown when an incomplete parsing error occurs while parsing Windows PowerShell script text. |
| InformationalRecord | Serves as a base class for debug, verbose, and warning record classes. This class is introduced in Windows PowerShell 2.0. |
| InvalidJobStateException | The exception that is thrown when the state of the Job object is different from the expected state. This class is introduced in Windows PowerShell 2.0. |
| InvalidPowerShellStateException | Exception that is thrown when the state of the PowerShell object is different from the expected state. For example, this exception is thrown if you invoke the pipeline and then try to add a command to the pipeline. This class is introduced in Windows PowerShell 2.0. |
| InvocationInfo | Provides information about invoked commands, such as the name of the command, the string used to invoke the command, and where the command is in the pipeline. |
| ItemCmdletProviderIntrinsics | Exposes the provider items to the cmdlet base class. This class cannot be inherited. |
| ItemNotFoundException | The exception that is thrown when an item cannot be found for a specified path that contains no wildcard characters. |
| Job | Serves as a base class for objects that represents a background job. A background job runs a command that can contain a command or expression. The job is run asynchronously within its own runspace. This class is introduced in Windows PowerShell 2.0. |
| Job2 | Represents a new base class for a job that provides extended state management functionality. |
| JobDataAddedEventArgs | Provides data for the PSChildJobProxy.JobDataAdded event. |
| JobDefinition | Contains the definition of a job that is defined in a job store. |
| JobFailedException | The exception that is thrown when there is a failure of a job that can map errors and exceptions to specific lines in their input. |
| JobIdentifier | Represents an object that must be created by Windows PowerShell to allow the reuse of an identifier for a job. This class cannot be inherited. |
| JobInvocationInfo | Defines the parameters that are passed to a job so that the job can be instantiated without having to specify the parameters explicitly. |
| JobManager | Manages the job source adapters for the invocation and management of specific job types. This class cannot be inherited. |
| JobRepository | Manages and provides information about the list of current active jobs. This class is introduced in Windows PowerShell 2.0. |
| JobSourceAdapter | Represents the base functionality for a job store that contains the jobs of a specific type. |
| JobStateEventArgs | Provides data for the Job.StateChanged event. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| JobStateInfo | Provides information about the state of a job and, if the last state change was due to an error, the reason for the job being in its current state. This class is introduced in Windows PowerShell 2.0. |
| LanguagePrimitives | Provides script language semantics that can be used when consuming objects. |
| LineBreakpoint | Defines a breakpoint on a specific line within a script file. This class is introduced in Windows PowerShell 2.0. |
| ListControl | Represents a control that displays content in a list format. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| ListControlEntry | Represents a single element in a list control. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| ListControlEntryItem | Represents an item of an entry for a list control entry. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| MetadataException | The exception thrown when errors occur while processing metadata. In this case, the term " metadata " refers to the attributes declared in cmdlets and providers. |
| MethodException | The exception thrown when Windows PowerShell detects that an error has occurred while invoking a method. |
| MethodInvocationException | The exception thrown when the referenced method detects that an error has occurred while invoking the method. |
| OutputTypeAttribute | Specifies the types that are returned by a cmdlet, script, or function. This class is introduced in Windows PowerShell 2.0. |
| PagingParameters | Represents the parameters for the paging support that are enabled by the CmdletCommonMetadataAttribute.SupportsPaging property. |
| ParameterAttribute | Defines the Parameter attribute that is used to identify a cmdlet or function parameter. For more information about the syntax and parameters used to declare the Parameter attribute for cmdlets, see ParameterAttribute Declaration. |
| ParameterBindingException | The exception that is thrown if the specified value cannot be bound to a parameter of a command. |
| ParameterMetadata | Describes the metadata for cmdlet, script, and function parameters. This class is introduced in Windows PowerShell 2.0. |
| ParameterSetMetadata | Represents the metadata for a parameter that belongs to a parameter set. A parameter can have different metadata for each parameter set that it belongs to. This class is introduced in Windows PowerShell 2.0. |
| ParentContainsErrorRecordException | The exception that is thrown when an ErrorRecord object is contained in a parent exception that implements the IContainsErrorRecord interface. This prevents the ErrorRecord property of the parent exception and the ErrorRecord object from containing mutual references to one another. |
| ParseException | The exception that is thrown when an error occurs while parsing a script. |
| ParsingMetadataException | The exception that is thrown for all parameter-binding exceptions that are related to metadata attributes. |
| PathInfo | Provides information about a Windows PowerShell path. |
| PathInfoStack | Represents a stack of locations. This class cannot be inherited. |
| PathIntrinsics | Provides information about a path for providers. |
| PipelineClosedException | Exception thrown when an attempt is made to write to an asynchronous pipeline source that is already closed. |
| PipelineDepthException | The exception that is thrown when the number of commands participating in a pipeline (object streaming) exceeds the configured maximum. This class is introduced in Windows PowerShell 2.0. |
| PipelineStoppedException | The exception that is thrown when a cmdlet or a Windows PowerShell provider attempts to write to the pipeline or perform a number of other Windows PowerShell operations after the pipeline has been terminated. The pipeline could have been terminated before the call was made or during the call. |
| PowerShell | Provides methods that are used to create a pipeline of commands and invoke those commands either synchronously or asynchronously within a runspace. This class also provides access to the output streams that contain data that is generated when the commands are invoked. This class is primarily intended for host applications that programmatically use Windows PowerShell to perform tasks. This class is introduced in Windows PowerShell 2.0. |
| PowerShellStreams | Contains properties and methods for storing and retrieving streams that are sent to or received from Windows PowerShell. This class cannot be inherited. |
| ProgressRecord | Represent the status of an ongoing operation at a point in time. |
| PropertyCmdletProviderIntrinsics | Exposes the Windows PowerShell provider properties to the cmdlet base class. This class cannot be inherited. |
| PropertyNotFoundException | The exception that is thrown when a property cannot be found. |
| ProviderCmdlet | Defines the cmdlet names that a provider can use when declaring the OutputType attribute. The OutputType attribute declares what .NET Framework types are returned by a cmdlet. This class is introduced in Windows PowerShell 2.0. |
| ProviderInfo | Provides information about a loaded Windows PowerShell provider. |
| ProviderIntrinsics | Exposes the providers to the Cmdlet base class. The methods of this class use the providers to perform operations. This class cannot be inherited. |
| ProviderInvocationException | The exception that is thrown when a provider encounters an error. |
| ProviderNameAmbiguousException | The exception thrown when two or more providers have the same name, and a request is made (such as running the Add-PsDrive cmdlet to add a drive) without using the module (or snap-in) qualified name of the provider. |
| ProviderNotFoundException | The exception that is thrown when a provider that is referenced by an operation cannot be found. |
| ProxyCommand | Represents a command that is based on another command and is created dynamically by the Windows PowerShell runtime. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| PSAdaptedProperty | Represents an extended adapted property of a PSObject object. This class is introduced in Windows PowerShell 2.0. |
| PSAliasProperty | Represents an alias to another extended property of a PSObject object. |
| PSArgumentException | The exception thrown when a parameter contains an argument that is not valid. |
| PSArgumentNullException | The exception thrown when a non-null value is expected and a parameter contains a null value. |
| PSArgumentOutOfRangeException | The exception thrown when a parameter contains an argument that is outside the range expected by the Windows PowerShell runtime. |
| PSChildJobProxy | Represents a job class that is used for the children of PSJobProxy jobs. This class cannot be inherited. |
| PSCmdlet | Serves as a base class for derived cmdlets that depend on access to the Windows PowerShell runtime, and therefore execute within a runspace. |
| PSCodeMethod | Serves as an additional code method for a PSObject object. |
| PSCodeProperty | Represents an extended code property of a PSObject object. |
| PSCommand | Defines a pipeline that can be run by a PowerShell object. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| PSControl | Serves as a base class for control elements that are used to define how content is displayed, such as list and table controls. This class is introduced in Windows PowerShell 2.0. |
| PSCredential | Represents a set of security credentials, such as a user name and a password. |
| PSCustomObject | Serves as a placeholder object that is used when the PSObject constructor, which has no parameters, is used. |
| PSDataCollection | A thread safe buffer that is used by Windows PowerShell host applications to provide input data when invoking a pipeline of commands asynchronously. This class is introduced in Windows PowerShell 2.0. |
| PSDataStreams | Provides access to the data streams of a PowerShell object. These data streams include the debug, error, progress, verbose, and warning data streams, but do not include the output data stream. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| PSDebugContext | Provides information about why Windows PowerShell entered the debugger. This class is introduced in Windows PowerShell 2.0. |
| PSDefaultValueAttribute | Specifies 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 actual default value of a command parameter (which may or may not have any correlation with, for example, the backing store of the parameter's property or field. |
| PSDriveInfo | Provides information about a Windows PowerShell drive that is used to access stored data through a provider. |
| PSDynamicMember | Represents a dynamic member. |
| PSEngineEvent | Defines the constants that represent Windows PowerShell engine events. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| PSEvent | Represents a .NET Framework event on an object that can be surfaced by using the Get-Member cmdlet. This class is introduced in Windows PowerShell 2.0. |
| PSEventArgs | Provides data for the eventing functionality provided by Windows PowerShell. This class can be used to subscribe to and receive events. This class is introduced in Windows PowerShell 2.0. |
| PSEventArgsCollection | Represents the events received by the Event Manager. This class is introduced in Windows PowerShell 2.0. |
| PSEventHandler | Serves as a base class for deriving an event handler for PSEvent objects. These objects represent events that are generated by Windows PowerShell. This class is introduced in Windows PowerShell 2.0. |
| PSEventJob | Represents an action that can be taken as a background job when an event arrives. This class is introduced in Windows PowerShell 2.0. |
| PSEventManager | Represents the base functionality of a Windows PowerShell event manager that handles subscribing to and receiving events that are raised by Windows PowerShell. This class is introduced in Windows PowerShell 2.0. |
| PSEventSubscriber | Represents a subscriber to those events that are generated by Windows PowerShell. This object is returned by the Get-EventSubscriber cmdlet. This class is introduced in Windows PowerShell 2.0. |
| PSEventUnsubscribedEventArgs | Provides data for the Unsubscribed event. |
| PSInstaller | Serves as a base class for the EngineInstaller and PSSnapInInstaller classes. |
| PSInvalidCastException | The exception thrown when an error occurs during type conversions. |
| PSInvalidOperationException | The exception thrown when an operation that is not valid is requested. |
| PSInvocationSettings | Specifies the settings that can be used by the PowerShell object when the pipeline is invoked. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| PSInvocationStateChangedEventArgs | Provides the event arguments passed to PowerShell object state change handlers. This class is introduced in Windows PowerShell 2.0. |
| PSInvocationStateInfo | Provides information about the current state of the invocation process, such as what the current state is and, if a failure occurred, the reason for the last state change. This class is introduced in Windows PowerShell 2.0. |
| PSJobProxy | Represents the class that handles the hosting and executing of workflows in Windows PowerShell. This class cannot be inherited. |
| PSListModifier | Provides Add, Remove, and Replace lists that can be used to update lists. This class is introduced in Windows PowerShell 2.0. |
| PSListModifier | Provides Add, Remove, and Replace lists that can be used to update lists. This class is introduced in Windows PowerShell 2.0. |
| PSMemberInfo | Serves as a base class for extended member classes that provide information, such as the PSEvent, PSMethodInfo, and PSPropertyInfo classes. Extended members are those members that are added to a PSObject object. |
| PSMemberInfoCollection | Serves as a collection of members in a PSObject or PSMemberSet object. |
| PSMemberSet | Serves as a set of members. |
| PSMethod | Defines a method that provides access to a method of the base object or made accessible through an adapter. These methods are referred to as Windows PowerShell methods. |
| PSMethodInfo | Serves as a base class for all extended member classes that act like methods, such as the PSScriptMethod and PSCodeMethod classes. |
| PSModuleInfo | Provides information about a module, such as the name of the module file, the path to the module file, what elements are exported from the module, and more. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| PSNoteProperty | Represents an extended note property of a PSObject object. |
| PSNotImplementedException | Exception thrown when a requested operation is not implemented. |
| PSNotSupportedException | Exception thrown when a requested operation is not supported. |
| PSObject | Encapsulates a base object of type Object or type PSCustomObject to allow for a consistent view of any object within the Windows PowerShell environment. |
| PSObjectDisposedException | The exception thrown when a target object has already been disposed. |
| PSObjectPropertyDescriptor | Provides information about a property of an adapted object or a PSObject object. |
| PSObjectTypeDescriptionProvider | Retrieves a PSObjectTypeDescriptor object that provides information about the properties of an object of type PSObject. |
| PSObjectTypeDescriptor | Provides information about the properties of a PSObject object. |
| PSParameterizedProperty | Provides access to parameterized properties of a base object. |
| PSParseError | Provides information about a syntax error that was detected while parsing a script into tokens. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| PSParser | Provides a mechanism to parse a script into a collection of tokens. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| PSPrimitiveDictionary | Provides a hash table that contains keys that are case-insensitive strings and values that can be serialized and deserialized during Windows PowerShell remoting handshakes. This class is introduced in Windows PowerShell 2.0. |
| PSProperty | Serves as a base property for a Windows PowerShell property or an adapter property of a PSObject object. |
| PSPropertyAdapter | Represents an adapter that is used to expose the properties of objects. This class is introduced in Windows PowerShell 2.0. |
| PSPropertyInfo | Serves as a base class for all extended members of a PSObject object that behave like properties. This can include alias, code, note, and script properties. |
| PSPropertySet | Represents a set of properties. |
| PSReference | Defines an object that is a value or variable reference in the Windows PowerShell scripting language. |
| PSScriptMethod | Represents a method that runs a script when it is called. These methods are referred to as script methods and are used to extend objects. |
| PSScriptProperty | Represents an extended script property of a PSObject object. |
| PSSecurityException | Represents a Windows PowerShell exception that is related to security. |
| PSSerializer | Provides public functionality for serializing a System.Management.Automation.PSObject. |
| PSSessionTypeOption | Contains the base functionality for defining the options of a configuration type. |
| PSSnapIn | Serves as a base class for Windows PowerShell snap-ins that are used to register all the cmdlets and providers in an assembly. (Be aware that Windows PowerShell 2.0 introduced support for modules, which is the preferred method to add cmdlets and providers.) |
| PSSnapInInfo | Provides information about a Windows PowerShell snap-in. Snap-ins are used to add and cmdlets or Windows PowerShell provider to a session. |
| PSSnapInInstaller | Serves as a base class for classes used to create Windows PowerShell snap-ins. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes. |
| PSSnapInSpecification | Represents the properties of a Windows PowerShell snap-in specification. |
| PSToken | Represents a token generated from a Windows PowerShell script. This class is introduced in Windows PowerShell 2.0. |
| PSTraceSource | Represents a TraceSource object that is used by the Windows PowerShell runtime to produce trace output. |
| PSTransaction | Represents an active transaction. Windows PowerShell creates a PSTransaction object when the New-Transaction cmdlet is called the first time. (Windows PowerShell supports only one active transaction.) This object is returned by the Get-Transaction cmdlet. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| PSTransactionContext | Provides a mechanism to reset the current Windows PowerShell transaction. This class is introduced in Windows PowerShell 2.0. |
| PSTransportOption | Contains the base functionality that defines the options for the underlying transport layer. |
| PSTypeConverter | Defines a base class that is used to implement a type converter for a specific target class. |
| PSTypeName | Serves as a container for a type, typically a .NET Framework type. This class is introduced in Windows PowerShell 2.0. |
| PSTypeNameAttribute | Specifies the PSTypeName of a cmdlet or function parameter. |
| PSVariable | Represents a variable used in the Windows PowerShell language. |
| PSVariableIntrinsics | Provides access to variable information for the session. |
| PSVariableProperty | Represents an extended variable property of a PSObject object. This class is introduced in Windows PowerShell 2.0. |
| ReadOnlyPSMemberInfoCollection | Serves as a read-only collection of members. |
| RedirectedException | Exception that is used in the ErrorRecord object for an object that is added to the error stream. |
| RemoteCommandInfo | Represents a command that was invoked on another runspace, typically on a remote computer. This class is introduced in Windows PowerShell 2.0. |
| RemoteException | The exception that is thrown for an error that comes from a remote instance of Windows PowerShell. |
| Repository | Contains the objects of active elements, such as PSJob and RemoteRunspaceInfo objects. This class is introduced in Windows PowerShell 2.0. |
| RunspaceInvoke | Allows the execution of commands from a CLR language. |
| RunspacePoolStateInfo | Provides information about the current state of the runspace pool, such as what the current state is and, if a failure occurred, the reason for the last state change. This class is introduced in Windows PowerShell 2.0. |
| RunspaceRepository | Provides information about the state of the remote runspaces that are available to the local runspace. This class is introduced in Windows PowerShell 2.0. |
| RuntimeDefinedParameter | Represents a dynamic parameter that is constructed at runtime. The Windows PowerShell runtime adds this parameter to the parameter list of a cmdlet or function when some pre-defined condition is met, such as a specific argument is supplied for some other parameter. |
| RuntimeDefinedParameterDictionary | Represents a collection of parameters that can be constructed at run time. |
| RuntimeException | Serves as a base class for Windows PowerShell exceptions that might occur while a command is running. |
| ScriptBlock | Represents a precompiled block of script text that can be used as a single unit. |
| ScriptBlockToPowerShellNotSupportedException | The exception that is thrown when the conversion of a ScriptBlock object to a PowerShell object is not allowed. This class is introduced in Windows PowerShell 2.0. |
| ScriptCallDepthException | The exception thrown when the number of session state objects of a specific type and in a specific scope exceeds the configured maximum number allowed. |
| ScriptInfo | Provides information about those scripts that are directly executable by Windows PowerShell. |
| ScriptRequiresException | The exception that is thrown when a script cannot run because the requirements that are specified by the script's #requires statements are not met. |
| SecurityDescriptorCmdletProviderIntrinsics | Provides the Windows PowerShell provider security functionality to the cmdlet base class. This class cannot be inherited. |
| SessionState | Provides access to data that describes the current operating environment of a Windows PowerShell runspace or module. The properties of this class retrieve objects that can then be used to either monitor or modify the session state data. |
| SessionStateException | The exception that is thrown when an error occurs while working with session state elements such as variables, aliases, functions, filters, drives, and providers. |
| SessionStateOverflowException | The exception that is thrown when the number of session state objects exceeds the maximum number allowed for this type in this scope. |
| SessionStateUnauthorizedAccessException | The exception that is thrown when a change to a session state object cannot be completed because the object is read-only, because the object is a constant, or because the object that is declared as a constant cannot be removed or made a nonconstant. |
| SettingValueExceptionEventArgs | Represents the arguments for events that are triggered by exceptions thrown by the SetValue method of a PSObjectPropertyDescriptor object. |
| SetValueException | The exception thrown by Windows PowerShell when it recognizes that an error has occurred while setting the value of an ETS member (property, method, or parameterized property). |
| SetValueInvocationException | The exception that is thrown by the underlying setter of a referenced member when it recognizes that an error has occurred while setting the value of an ETS member (property, method, or parameterized property). |
| Signature | Represents a digital signature on a signed file. This class cannot be inherited. |
| SteppablePipeline | Represents an object that processes one or more commands in a separate pipeline. This class is introduced in Windows PowerShell 2.0. |
| SupportsWildcardsAttribute | Specifies that a parameter supports wildcards. |
| TableControl | Represents a control that displays content in a table format. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| TableControlColumn | Represents a column of data in a row of a table control. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| TableControlColumnHeader | Represents a column header in a table control. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| TableControlRow | Represents the content of a row in a table control. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| ValidateArgumentsAttribute | Serves as the base class for all validation attributes that validate cmdlet parameter arguments. |
| ValidateCountAttribute | Defines an attribute that uses maximum and minimum limits to validate the number of arguments that a cmdlet parameter accepts. (This attribute can also be used by Windows PowerShell functions.) This class cannot be inherited. |
| ValidateEnumeratedArgumentsAttribute | Serves as a base class for validation attributes that validate each element of an argument of a parameter. |
| ValidateLengthAttribute | Defines an attribute that uses minimum and maximum limits to validate the number of characters in a cmdlet parameter argument. (This attribute can also be used by Windows PowerShell functions.) This class cannot be inherited. |
| ValidateNotNullAttribute | Validates that the argument of an optional parameter is not null. This class cannot be inherited. |
| ValidateNotNullOrEmptyAttribute | Validates that the argument of an optional parameter is not null, an empty string, or an empty collection. This class cannot be inherited. |
| ValidatePatternAttribute | Defines an attribute that uses a regular expression to validate the character pattern of a cmdlet parameter argument. (This attribute can also be used by Windows PowerShell functions.) |
| ValidateRangeAttribute | Defines an attribute that uses minimum and maximum values to validate a cmdlet parameter argument. (This attribute can also be used by Windows PowerShell functions.) This class cannot be inherited. |
| ValidateScriptAttribute | Defines an attribute that uses a script to validate a parameter of any Windows PowerShell function. (This attribute cannot be used to validate the argument of a cmdlet parameter.) This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| ValidateSetAttribute | Defines an attribute that uses a set of values to validate a cmdlet parameter argument. |
| ValidationMetadataException | The exception thrown when an error occurs while validating input for any validation attribute. |
| VariableBreakpoint | Defines a breakpoint on a variable. This class is introduced in Windows PowerShell 2.0. |
| VariablePath | Represents a variable path that can query the scope and the drive of the variable reference. |
| VerboseRecord | Describes a verbose message sent to the verbose stream, plus information about the command that sent the message. This class is introduced in Windows PowerShell 2.0. |
| VerbsCommon | Defines the common verb names that can be used to name cmdlets, such as the verbs Get and Set. |
| VerbsCommunications | Defines the communication verb names that can be used to name cmdlets. |
| VerbsData | Defines the data verbs, such as Import, Export, Merge, Update, and Restore, that can be used to specify the action of a cmdlet. |
| VerbsDiagnostic | Defines the diagnostic verb names that can be used to specify the action of a cmdlet, such as Debug, Ping, and Trace. |
| VerbsLifecycle | Defines the lifecycle verbs, such as Enable, Disable, Start, and Stop, that can be used to name cmdlets. |
| VerbsOther | Defines canonical verb names that do not fit into a specific verb name category such as the common, communications, data, lifecycle, or security verb names. |
| VerbsSecurity | Defines the security verbs that can be used to name cmdlets. |
| WarningRecord | Describes a warning message sent to the warning stream, plus information about the command that sent the message. This class is introduced in Windows PowerShell 2.0. |
| WideControl | Represents a control that displays content in a wide column format. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| WideControlEntryItem | Represents an entry in a wide column control. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0. |
| WildcardPattern | Represents a wildcard pattern that is used for matching. This class cannot be inherited. |
| WildcardPatternException | The exception that is thrown when a wildcard pattern is not valid. |
| WorkflowInfo | Provides information about a workflow that is stored in session state. |
| Interface | Description |
|---|---|
| IBackgroundDispatcher | Exposes functionality that can be used to execute a method on a thread pool thread while correctly managing system state, such as flowing ETW activities from the current thread to the thread pool thread. |
| ICommandRuntime | This interface is used when you are calling the Invoke to explicitly invoke a cmdlet from within another cmdlet. It provides a mechanism for overriding the behavior of the methods called by the cmdlet you are invoking, such as the ShouldProcess and WriteObject methods. |
| IContainsErrorRecord | Provides a mechanism for adding an error record to an exception. |
| IDynamicParameters | Provides a mechanism for a cmdlet to retrieve parameters that can be added dynamically by the Windows PowerShell runtime. |
| IModuleAssemblyInitializer | Provides startup initialization and compiled assembly loading for modules and snap-ins. |
| IResourceSupplier | Provides a mechanism for obtaining a resource string based on a base name and resource identifier. |
| Structure | Description |
|---|---|
| SwitchParameter | Defines a type of parameter that is evaluated based on its presence on the command line. Cmdlets and functions can define switch parameters that are evaluated by the Windows PowerShell runtime when the parameters of the command are bound. |
| Delegate | Description |
|---|---|
| GetSymmetricEncryptionKey | Represents a method that is used in PSCredential to return the encryption key and initialization vector for a symmetric encryption algorithm. |
| PSEventReceivedEventHandler | Represents the delegate called by events that are raised by the Windows PowerShell Event Manager. This class is introduced in Windows PowerShell 2.0. |
| PSEventUnsubscribedEventHandler | Represents the method that handles the Unsubscribed event of a PSEventSubscriber. |
| Enumeration | Description |
|---|---|
| ActionPreference | Defines the actions that the Windows PowerShell runtime takes when an error occurs and when debugging, progress, warning, and verbose messages are written. |
| Alignment | Defines how content is defined in a display cell. This class is introduced in Windows PowerShell 2.0. |
| BreakpointUpdateType | Defines the different ways that a breakpoint can be updated, such as when it was set or removed. This class is introduced in Windows PowerShell 2.0. |
| CommandOrigin | Defines the dispatch origin of a command. |
| CommandTypes | Defines the types of commands that Windows PowerShell can execute. |
| CompletionResultType | Represents the possible types of completion results from an Intellisense selection or a tab expansion. |
| ConfirmImpact | Defines the impact level of the action performed by the cmdlet. For example, cmdlets may have a high, medium, or low risk of losing data. |
| CopyContainers | Defines how a copy operation acts on a container. |
| DebuggerResumeAction | Defines the ways that the debugger can resume its execution after a breakpoint is encountered. This class is introduced in Windows PowerShell 2.0. |
| DisplayEntryValueType | Defines the type of the display entry, such as a script block or property. This class is introduced in Windows PowerShell 2.0. |
| ErrorCategory | Defines the error categories used to group errors for display purposes. |
| JobState | Defines the state of the job, such as has the job started, is it running, or has it been stopped. This class is introduced in Windows PowerShell 2.0. |
| JobThreadOptions | Specifies the various thread options that can be used for a thread-based job. |
| ModuleAccessMode | Defines how a module can be accessed when adding or removing the module, such as a read-only or read-write module. This class is introduced in Windows PowerShell 2.0. |
| ModuleType | Defines the type of module, which is based on the type of root module file. This class is introduced in Windows PowerShell 2.0. |
| PowerShellStreamType | Specifies the stream to which job data is added. |
| ProgressRecordType | Specifies whether an activity of a progress report is in progress or completed. |
| PSCredentialTypes | Defines the types of Windows PowerShell credentials. |
| PSCredentialUIOptions | Defines the options that are available, such as different validation options, when prompting for credentials. |
| PSInvocationState | Defines the states of a PowerShell pipeline. This class is introduced in Windows PowerShell 2.0. |
| PSLanguageMode | Defines what elements of the Windows PowerShell language are available to external commands of a runspace. This enumeration is used when creating a runspace that restricts which language elements are available. For example, if NoLanguage is specified for a runspace, then scripts that need to be evaluated are not allowed within the runspace. This class is introduced in Windows PowerShell 2.0. |
| PSMemberTypes | Defines the type of members that can be added to a PSObject object or any object that inherits from the PSObject class. |
| PSMemberViewTypes | Defines the methods and properties of the PSObject that are accessible. This class is introduced in Windows PowerShell 2.0. |
| PSModuleAutoLoadingPreference | Specifies the preference options for the module auto-loading feature. |
| PSTokenType | Defines the types of tokens that can be generated from Windows PowerShell scripts. This class is introduced in Windows PowerShell 2.0. |
| PSTraceSourceOptions | Defines the types of tracing that are enabled. For example, tracing can be enabled to trace methods, properties, errors, and more. |
| PSTransactionStatus | Defines the status of a Windows PowerShell transaction, such as whether it is currently active or whether the actions of the transaction have been accepted or rejected. This class is introduced in Windows PowerShell 2.0. |
| RemoteStreamOptions | Defines the data streams that are updated with the invocation information for remote calls. This class is introduced in Windows PowerShell 2.0. |
| RemotingBehavior | Controls or overrides the remoting behavior, during invocation, of a command that supports ambient remoting. |
| RemotingCapability | Defines the various types of remoting behavior available to a cmdlet when used in a context that supports ambient or automatic remoting. |
| ReturnContainers | Defines the type of containers that are returned. |
| RollbackSeverity | Defines the error condition that causes Windows PowerShell to roll back a transaction automatically. This class is introduced in Windows PowerShell 2.0. |
| RunspaceMode | Defines the runspace modes for a nested pipeline. |
| ScopedItemOptions | Defines how session state data can be used. |
| SessionCapabilities | Defines the capabilities provided by a session, such as can it be used for implicit and interactive remoting. This class is introduced in Windows PowerShell 2.0. |
| SessionStateCategory | Defines the type of session state element that was being accessed when an error occurred. |
| SessionStateEntryVisibility | Defines the visibility of a session state entry to request from outside the session state. This class is introduced in Windows PowerShell 2.0. |
| ShouldProcessReason | Defines any special circumstances surrounding the call to the Cmdlet.ShouldProcess, ICommandRuntime.ShouldProcess, or CmdletProvider.ShouldProcess method. For example, one circumstance may be because the WhatIf parameter was specified at the command line. |
| SignatureStatus | Defines the status of a signature for a file. |
| SigningOption | Defines the options that control what data is embedded in the signature blob. |
| SplitOptions | Defines the options available for the –split operator that is used to separate one or more strings into substrings. This class is introduced in Windows PowerShell 2.0. |
| VariableAccessMode | Defines the access modes that can be used to trigger a variable breakpoint. This class is introduced in Windows PowerShell 2.0. |
| WildcardOptions | Defines the options that are available to modify how wildcard patterns are matched. |
Send comments about this topic to Microsoft.
