System.Management.Automation.Internal Namespace

Classes

AlternateDataStreamUtilities

Provides access to alternate data streams on a file

AlternateStreamData

Represents alternate stream data retrieved from a file.

AutomationNull

This is a singleton object that is used to indicate a void return result.

ClassOps

Support methods for PowerShell classes.

CmdletMetadataAttribute

Serves as the base class for Metadata attributes.

CommonParameters

Defines the parameters that are present on all Cmdlets.

DebuggerUtils

Debugger Utilities class

InternalCommand

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

InternalTestHooks

This class is used for internal test purposes.

ParsingBaseAttribute

Serves as the base class for Metadata attributes that serve as guidance to the parser and parameter binder.

PSEmbeddedMonitorRunspaceInfo

Embedded runspaces running in context of a parent script, used for monitoring runspace debugging.

PSMonitorRunspaceInfo

Runspace information for monitoring runspaces for debugging.

PSStandaloneMonitorRunspaceInfo

Standalone runspace information for monitoring runspaces for debugging.

ScriptBlockMemberMethodWrapper
SecuritySupport

Security Support APIs

SessionStateKeeper

Every Runspace in one process contains SessionStateInternal per module (module SessionState). Every RuntimeType is associated to only one SessionState in the Runspace, which creates it: it's ever global state or a module state. In the former case, module can be imported from the different runspaces in the same process. And so runspaces will share RuntimeType. But in every runspace, Type is associated with just one SessionState. We want type methods to be able access $script: variables and module-specific methods. To achive it, we preserve reference to SessionState that creates type in the private field 'SessionStateFieldName'. Later, we use it to call scriptBlocks captured in ScriptBlockMemberMethodWrapper with the right sessionState.

ShouldProcessParameters

The declaration of parameters for the ShouldProcess mechanisms. -Whatif, and -Confirm.

TransactionParameters

The declaration of parameters for the Transactions mechanisms. -UseTransaction, and -BypassTransaction.

Interfaces

IAstToWorkflowConverter

Internal interface used for workflow compilation.

Enums

PSMonitorRunspaceType

PSMonitorRunspaceEvent