Click to Rate and Give Feedback
Collapse All/Expand All Collapse All
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.
ClassDescription
ActionPreferenceStopExceptionException thrown when the pipeline is stopped because of a Stop or Inquire policy.
AliasAttributeDefines one or more user-friendly names for a cmdlet parameter.
AliasInfoProvides 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.
AllowEmptyCollectionAttributeAllows an empty collection as the argument to a mandatory collection parameter.
AllowEmptyStringAttributeAllows an empty string to be used as an argument for a mandatory string parameter.
AllowNullAttributeAllows null as the argument of a mandatory cmdlet or function parameter.
ApplicationFailedExceptionThe exception is thrown when an application fails.
ApplicationInfoProvides information about applications that are not directly executable by Windows PowerShell.
ArgumentTransformationAttributeServes as a base class for attributes that perform argument transformations.
ArgumentTransformationMetadataExceptionException that is thrown when the ArgumentTransformation attribute encounters an error.
AuthorizationManagerRepresents an authorization manager for a runspace.
BreakpointDescribes a breakpoint that is being used by the Windows PowerShell debugger. This class is introduced in Windows PowerShell 2.0.
BreakpointUpdatedEventArgsDefine the arguments for a BreakpointUpdated event. This class is introduced in Windows PowerShell 2.0.
CallStackFrameDefines 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.
ChildItemCmdletProviderIntrinsicsExposes the child items of provider data stores to the cmdlet base class.
CmdletServes 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.
CmdletAttributeIdentifies a .NET Framework class as a cmdlet, and defines the verb and noun name pair used to invoke the cmdlet.
CmdletBindingAttributeIdentifies 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.
CmdletCommonMetadataAttributeServes as a base class for attributes that specify cmdlet functionality, such as the CmdletBinding attribute that is used by script developers when writing functions in place of writing compiled cmdlets. This class is introduced in Windows PowerShell 2.0.
CmdletInfoProvides information about a cmdlet, such as its definition (usage pattern), noun and verb name, and other information.
CmdletInvocationExceptionException thrown when a cmdlet encounters a terminating error.
CmdletProviderInvocationExceptionException thrown when a provider encounters a terminating error that originated with a provider.
CmdletProviderManagementIntrinsicsProvides access to information about the providers of a runspace.
CommandBreakpointDefines a breakpoint on a command.
CommandInfoServes as a base class for information classes that describe cmdlets, functions, scripts, and other types of commands.
CommandInvocationIntrinsicsProvides access to application programming interfaces (APIs) that cmdlets can use to build script blocks and run scripts.
CommandMetadataProvides 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.
CommandNotFoundExceptionException thrown when a command cannot be found.
CommandParameterInfoProvides information about a parameter for a particular parameter set.
CommandParameterSetInfoProvides information about a parameter set of a cmdlet.
ContentCmdletProviderIntrinsicsExposes the content of data store items to the cmdlet base class.
ConvertThroughStringEnables the LanguagePrimitives.ConvertTo method to convert a type to another type using a string conversion.
CredentialAttributeDefines the attribute used to designate that a cmdlet parameter should accept credentials.
CustomPSSnapInServes 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.)
DataAddedEventArgsEvent arguments passed to DataAdded handlers of a PSDataCollection buffer. This class is introduced in Windows PowerShell 2.0.
DebuggerProvides access to the Windows PowerShell debugger. This class is introduced in Windows PowerShell 2.0.
DebuggerStopEventArgsDefines the arguments for the DebuggerStop event. This class is introduced in Windows PowerShell 2.0.
DebugRecordDescribes 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.
DisplayEntryRepresents an entry in a format display unit. This class is introduced in Windows PowerShell 2.0.
DriveManagementIntrinsicsProvides access to information for monitoring and managing the Windows PowerShell drives that are used by providers.
DriveNotFoundExceptionException thrown when a drive that is referenced by an operation could not be found.
EngineIntrinsicsProvides access to the command, provider, host, event manager, and session-state information for this instance of the Windows PowerShell runtime.
ErrorCategoryInfoProvides access to the auxiliary information about an error.
ErrorDetailsProvides additional error information for an error record, such as a more detailed replacement error message.
ErrorRecordDescribes a terminating or nonterminating error that occurred during the processing of a command.
ExtendedTypeDefinitionRepresents any additional .NET Framework type definitions for an object. This class is introduced in Windows PowerShell 2.0.
ExtendedTypeSystemExceptionException thrown when an extended type system (ETS) runtime error occurs.
ExternalScriptInfoProvides information about Windows PowerShell scripts that are directly executable by Windows PowerShell but are not built into the runspace configuration.
FilterInfoProvides information about a filter that is stored in the session state.
FormatViewDefinitionRepresents the formatting view for a .NET Framework type. This class is introduced in Windows PowerShell 2.0.
ForwardedEventArgsProvides 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.
FunctionInfoGets information about a function that is available in the session state.
GettingValueExceptionEventArgsRepresents the arguments for events that are triggered when the GetValue method of a PSObjectPropertyDescriptor object throws an exception.
GetValueExceptionException thrown by the Windows PowerShell runtime when it recognizes that an error has occurred while getting the value of an extended member (property, method, or parameterized property) of an object.
GetValueInvocationExceptionThe 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.
HaltCommandExceptionThe exception thrown when the cmdlet or provider wants to terminate the running command without the error condition being considered an error.
IncompleteParseExceptionThe exception thrown when an incomplete parsing error occurs while parsing Windows PowerShell script text.
InformationalRecordServes as a base class for debug, verbose, and warning record classes. This class is introduced in Windows PowerShell 2.0.
InvalidJobStateExceptionException that is thrown when an operation is requested the state of the Job object is different from the expected state. This class is introduced in Windows PowerShell 2.0.
InvalidPowerShellStateExceptionException 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.
InvocationInfoProvides 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.
ItemCmdletProviderIntrinsicsExposes the provider items to the cmdlet base class.
ItemNotFoundExceptionException thrown when an item cannot be found for a specified path that contains no wildcard characters.
JobServes 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.
JobRepositoryManages and provides information about the current active jobs. This class is introduced in Windows PowerShell 2.0.
JobStateEventArgsProvides the arguments for a raised event that is passed to a JobStateEvent handler. This class is introduced in Windows PowerShell 2.0.
JobStateInfoProvides 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.
LanguagePrimitivesProvides script language semantics that can be used when consuming objects.
LineBreakpointDefines a breakpoint on a specific line within a script file. This class is introduced in Windows PowerShell 2.0.
ListControlRepresents a control that displays content in a list format. This class is introduced in Windows PowerShell 2.0.
ListControlEntryRepresents a single element in a list control. This class is introduced in Windows PowerShell 2.0.
ListControlEntryItemRepresents an item of an entry for a list control entry. This class is introduced in Windows PowerShell 2.0.
MetadataExceptionThe exception thrown when errors occur while processing metadata. In this case, the term "metadata" refers to the attributes declared in cmdlets and providers.
MethodExceptionThe exception thrown when Windows PowerShell detects that an error has occurred while invoking a method.
MethodInvocationExceptionThe exception thrown when the referenced method detects that an error has occurred while invoking the method.
OutputTypeAttributeIdentifies the .NET Framework types that are returned by a cmdlet or by a script. This class is introduced in Windows PowerShell 2.0.
ParameterAttributeDefines 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.
ParameterBindingExceptionThe exception thrown if the specified value cannot be bound to a parameter of a command.
ParameterMetadataDescribes the metadata for cmdlet, script, and function parameters. This class is introduced in Windows PowerShell 2.0.
ParameterSetMetadataRepresents 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.
ParentContainsErrorRecordExceptionThe exception contained in an ErrorRecord object when that object is contained in a parent exception implementing the IContainsErrorRecord interface. This prevents the ErrorRecord property of the parent exception and the ErrorRecord object from containing mutual references to one another.
ParseExceptionThe exception thrown when an error occurs while parsing a script.
ParsingMetadataExceptionThe exception that is thrown for all parameter-binding exceptions that are related to metadata attributes.
PathInfoProvides information about a Windows PowerShell path.
PathInfoStackRepresents a stack of locations.
PathIntrinsicsProvides information about a path for providers.
PipelineClosedExceptionException thrown when an attempt is made to write to an asynchronous pipeline source that is already closed.
PipelineDepthExceptionThe exception 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.
PipelineStoppedExceptionThe exception 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.
PowerShellProvides 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.
ProgressRecordRepresent the status of an ongoing operation at a point in time.
PropertyCmdletProviderIntrinsicsExposes the Windows PowerShell provider properties to the cmdlet base class.
ProviderCmdletDefines 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.
ProviderInfoProvides information about a loaded Windows PowerShell provider.
ProviderIntrinsicsExposes the providers to the Cmdlet base class. The methods of this class use the providers to perform operations.
ProviderInvocationExceptionThe exception thrown when a provider encounters an error.
ProviderNameAmbiguousExceptionThe exception thrown when more than one provider exists for a given provider name and the request does not contain the snap-in name qualifier.
ProviderNotFoundExceptionThe exception thrown when the provider, referenced by an operation, cannot be found.
ProxyCommandRepresents a command that is based on another command, and is created dynamically by the Windows PowerShell runtime. This class is introduced in Windows PowerShell 2.0.
PSAdaptedPropertyRepresents an extended adapted property of a PSObject object. This class is introduced in Windows PowerShell 2.0.
PSAliasPropertyRepresents an alias to another extended property of a PSObject object.
PSArgumentExceptionThe exception thrown when a parameter contains an argument that is not valid.
PSArgumentNullExceptionThe exception thrown when a non-null value is expected and a parameter contains a null value.
PSArgumentOutOfRangeExceptionThe exception thrown when a parameter contains an argument that is outside the range expected by the Windows PowerShell runtime.
PSCmdletServes as a base class for derived cmdlets that depend on access to the Windows PowerShell runtime, and therefore execute within a runspace.
PSCodeMethodServes as an additional code method for a PSObject object.
PSCodePropertyRepresents an extended code property of a PSObject object.
PSCommandDefines a pipeline that can be run by a PowerShell object. This class is introduced in Windows PowerShell 2.0.
PSControlServes 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.
PSCredentialRepresents a set of security credentials such as a user name and a password.
PSCustomObjectServes as a placeholder object that is used when the PSObject constructor, which has no parameters, is used.
PSDataCollectionA 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.
PSDataStreamsProvides 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 is introduced in Windows PowerShell 2.0.
PSDebugContextProvides information about why Windows PowerShell entered the debugger. This class is introduced in Windows PowerShell 2.0.
PSDriveInfoProvides information about a Windows PowerShell drive that is used to access stored data through a provider.
PSEngineEventDefines the constants that represent Windows PowerShell engine events. This class is introduced in Windows PowerShell 2.0.
PSEventRepresents 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.
PSEventArgsProvides access to the eventing functionality provided by Windows PowerShell. This class can be used to subscript to and receive events. This class is introduced in Windows PowerShell 2.0.
PSEventArgsCollectionRepresents the events received by the Event Manager. This class is introduced in Windows PowerShell 2.0.
PSEventHandlerServes 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.
PSEventJobRepresents an action that can be taken as a background job when an event arrives. This class is introduced in Windows PowerShell 2.0.
PSEventManagerRepresents the 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.
PSEventSubscriberRepresents 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.
PSInstallerServes as a base class for the EngineInstaller and PSSnapInInstaller classes.
PSInvalidCastExceptionThe exception thrown when an error occurs during type conversions.
PSInvalidOperationExceptionThe exception thrown when an operation that is not valid is requested.
PSInvocationSettingsSpecifies the settings that can be used by the PowerShell object when the pipeline is invoked. This class is introduced in Windows PowerShell 2.0.
PSInvocationStateChangedEventArgsProvides the event arguments passed to PowerShell object state change handlers. This class is introduced in Windows PowerShell 2.0.
PSInvocationStateInfoProvides 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.
PSListModifierProvides Add, Remove, and Replace lists that can be used to update lists. This class is introduced in Windows PowerShell 2.0.
PSListModifierProvides Add, Remove, and Replace lists that can be used to update lists. This class is introduced in Windows PowerShell 2.0.
PSMemberInfoServes 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.
PSMemberInfoCollectionServes as a collection of members in a PSObject or PSMemberSet object.
PSMemberSetServes as a set of members.
PSMethodDefines 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.
PSMethodInfoServes as a base class for all extended member classes that act like methods, such as the PSScriptMethod and PSCodeMethod classes.
PSModuleInfoProvides 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 is introduced in Windows PowerShell 2.0.
PSNotePropertyRepresents an extended note property of a PSObject object.
PSNotImplementedExceptionException thrown when a requested operation is not implemented.
PSNotSupportedExceptionException thrown when a requested operation is not supported.
PSObjectEncapsulates a base object of type Object or type PSCustomObject to allow for a consistent view of any object within the Windows PowerShell environment.
PSObjectDisposedExceptionThe exception thrown when a target object has already been disposed of.
PSObjectPropertyDescriptorProvides information about a property of an adapted object or a PSObject object.
PSObjectTypeDescriptionProviderRetrieves a PSObjectTypeDescriptor object that provides information about the properties of an object of type PSObject.
PSObjectTypeDescriptorProvides information about the properties of a PSObject object.
PSParameterizedPropertyProvides access to parameterized properties of a base object.
PSParseErrorProvides information about a syntax error that was detected while parsing a script into tokens. This class is introduced in Windows PowerShell 2.0.
PSParserProvides a mechanism to parse a script into a collection of tokens. This class is introduced in Windows PowerShell 2.0.
PSPrimitiveDictionaryProvides 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.
PSPropertyServes as a base property for a Windows PowerShell property or an adapter property of a PSObject object.
PSPropertyAdapterRepresents an adapter that is used to expose the properties of objects. This class is introduced in Windows PowerShell 2.0.
PSPropertyInfoServes 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.
PSPropertySetRepresents a set of properties.
PSReferenceDefines an object that is a value or variable reference in the Windows PowerShell scripting language.
PSScriptMethodRepresents a method that runs a script when it is called. These methods are used to extend objects, and are referred to as script methods.
PSScriptPropertyRepresents an extended script property of a PSObject object.
PSSecurityExceptionA wrapper for the SecurityException class.
PSSnapInServes 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.)
PSSnapInInfoProvides information about a Windows Powershell snap-in. Snap-ins are used to add and cmdlets or Windows PowerShell provider to a session.
PSSnapInInstallerServes 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.
PSTokenRepresents a token generated from a Windows PowerShell script. This class is introduced in Windows PowerShell 2.0.
PSTraceSourceRepresents a TraceSource object that is used by the Windows PowerShell runtime to produce trace output.
PSTransactionRepresents an active transaction. 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 is introduced in Windows PowerShell 2.0.
PSTransactionContextProvides a mechanism to reset the current Windows PowerShell transaction. This class is introduced in Windows PowerShell 2.0.
PSTypeConverterDefines a base class that is used to implement a type converter for a specific target class.
PSTypeNameRepresents a .NET Framework type. The PSTypeName object can be used where the real .NET Framework type is not be available. This class is introduced in Windows PowerShell 2.0.
PSVariableRepresents a variable used in the Windows PowerShell language.
PSVariableIntrinsicsProvides access to variable information for the session.
PSVariablePropertyRepresents an extended variable property of a PSObject object. This class is introduced in Windows PowerShell 2.0.
ReadOnlyPSMemberInfoCollectionServes as a read only collection of members.
RedirectedExceptionException that is used in the ErrorRecord object for an object that is added to the error stream.
RemoteCommandInfoRepresents a command that was invoked on another runspace, typically on a remote computer. This class is introduced in Windows PowerShell 2.0.
RemoteExceptionException that is used to wrap an error coming from a remote instance of Windows PowerShell.
RepositoryContains the objects of active elements, such as PSJob and RemoteRunspaceInfo objects. This class is introduced in Windows PowerShell 2.0.
RunspaceInvokeAllows the execution of commands from a CLR language.
RunspacePoolStateInfoProvides 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.
RunspaceRepositoryProvides information about the state of the remote runspaces that are available to the local runspace. This class is introduced in Windows PowerShell 2.0.
RuntimeDefinedParameterRepresents 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.
RuntimeDefinedParameterDictionaryRepresents a collection of parameters that can be constructed at runtime.
RuntimeExceptionServes as a base class for Windows PowerShell exceptions that might occur while a command is running.
ScriptBlockRepresents a precompiled block of script text that can be used as a single unit.
ScriptBlockToPowerShellNotSupportedExceptionException thrown when converting from a ScriptBlock object to a PowerShell object is not allowed. This class is introduced in Windows PowerShell 2.0.
ScriptCallDepthExceptionThe exception thrown when the number of session state objects of a specific type and in a specific scope exceeds the configured maximum number allowed.
ScriptInfoProvides information about those scripts that are directly executable by Windows PowerShell.
ScriptRequiresExceptionException thrown when a script cannot run because the requirements that are specified by the script’s #requires statements, are not met.
SecurityDescriptorCmdletProviderIntrinsicsProvides the Windows PowerShell provider security APIs to the cmdlet base class.
SessionStateProvides 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.
SessionStateExceptionThe exception thrown when an error occurs while working with session-state elements such as variables, aliases, functions, filters, drives, and providers.
SessionStateOverflowExceptionThe exception thrown when the number of session-state objects exceeds the maximum number allowed for this type in this scope.
SessionStateUnauthorizedAccessExceptionThe exception 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.
SettingValueExceptionEventArgsRepresents the arguments for events that are triggered by exceptions thrown by the SetValue method of a PSObjectPropertyDescriptor object.
SetValueExceptionThe 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).
SetValueInvocationExceptionException 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).
SignatureRepresents a digital signature on a signed file.
SteppablePipeline Represents a steppable pipeline. This class is introduced in Windows PowerShell 2.0.
TableControlRepresents a control that displays content in a table format. This class is introduced in Windows PowerShell 2.0.
TableControlColumnRepresents a column of data in a row of a Table control. This class is introduced in Windows PowerShell 2.0.
TableControlColumnHeaderRepresents a column header in a Table control. This class is introduced in Windows PowerShell 2.0.
TableControlRowRepresents the content of a row in a Table control. This class is introduced in Windows PowerShell 2.0.
ValidateArgumentsAttributeServes as the base class for all validation attributes that validate cmdlet parameter arguments.
ValidateCountAttributeDefines 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.)
ValidateEnumeratedArgumentsAttributeServes as a base class for validation attributes that validate each element of an argument of a parameter.
ValidateLengthAttributeDefines 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.)
ValidateNotNullAttributeValidates that the argument of an optional parameter is not null.
ValidateNotNullOrEmptyAttributeValidates that the argument of an optional parameter is not null, an empty string, or an empty collection.
ValidatePatternAttributeDefines 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.)
ValidateRangeAttributeDefines an attribute that uses minimum and maximum values to validate a cmdlet parameter argument (This attribute can also be used by Windows PowerShell functions.)
ValidateScriptAttributeDefines an attribute that uses a script to validate a parameter of any Windows PowerShell function that declares the CmdletBinding attribute. (This attribute cannot be used to validate the argument of a cmdlet parameter.) This class is introduced in Windows PowerShell 2.0.
ValidateSetAttributeDefines an attribute that uses a set of values to validate a cmdlet parameter argument.
ValidationMetadataExceptionThe exception thrown when an error occurs while validating input for any validation attribute.
VariableBreakpointDefines a breakpoint on a variable. This class is introduced in Windows PowerShell 2.0.
VerboseRecordDescribes 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.
VerbsCommonDefines the common verb names that can be used to name cmdlets, such as the verbs “get” and “set”.
VerbsCommunicationsDefines the communication verb names that can be used to name cmdlets.
VerbsDataDefines the data verbs, such as Import, Export, Merge, Update, and Restore, that can be used to specify the action of a cmdlet.
VerbsDiagnosticDefines the diagnostic verb names that can be used to specify the action of a cmdlet, such as Debug, Ping, and Trace.
VerbsLifecycleDefines the lifecycle verbs, such as Enable, Disable, Start, and Stop, that can be used to name cmdlets.
VerbsOtherDefines canonical verb names that do not fit into a specific verb name category such as the common, communications, data, lifecycle, or security verb names.
VerbsSecurityDefines the security verbs that can be used to name cmdlets.
WarningRecordDescribes 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.
WideControlRepresents a control that displays content in a wide column format. This class is introduced in Windows PowerShell 2.0.
WideControlEntryItemRepresents an entry in a wide column control. This class is introduced in Windows PowerShell 2.0.
WildcardPatternRepresents a wildcard pattern that is used for matching.
WildcardPatternExceptionException thrown when a wildcard pattern is not valid.
InterfaceDescription
ICommandRuntimeThis interface provides a mechanism for overriding the default behavior of methods, such as the ShouldProcess and WriteObject methods, called by cmdlets that are invoked directly from within another cmdlet using the Invoke method.
IContainsErrorRecordProvides a mechanism for adding an error record to an exception.
IDynamicParametersProvides a mechanism for a cmdlet to retrieve parameters that can be added dynamically by the Windows PowerShell runtime.
IResourceSupplierProvides a mechanism for obtaining a resource string based on a base name and resource identifier.
StructureDescription
SwitchParameterDefines 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.
DelegateDescription
PSEventReceivedEventHandlerRepresents the delegate called by events that are raised by the Windows PowerShell Event Manager. This class is introduced in Windows PowerShell 2.0.
EnumerationDescription
ActionPreferenceDefines the actions that the Windows PowerShell runtime takes when an error occurs, and when debugging, progress, warning, and verbose messages are written.
AlignmentDefines how content is defined in a display cell. This class is introduced in Windows PowerShell 2.0.
BreakpointUpdateTypeDefines 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.
CommandOriginDefines the dispatch origin of a command.
CommandTypesDefines the types of commands that Windows PowerShell can execute.
ConfirmImpactDefines the impact level of the action performed by the cmdlet. For example, cmdlets may have a high, medium, or low risk of losing data.
CopyContainersDefines how a copy operation acts on a container.
DebuggerResumeActionDefines the ways that the debugger can resume its execution after a breakpoint is encountered. This class is introduced in Windows PowerShell 2.0.
DisplayEntryValueTypeDefines the type of the display entry, such as a script block or property. This class is introduced in Windows PowerShell 2.0.
ErrorCategoryDefines the error categories used to group errors for display purposes.
JobStateDefines 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.
ModuleAccessModeDefines 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.
ModuleTypeDefines the type of module, which is based on the type of root module file. This class is introduced in Windows PowerShell 2.0.
ProgressRecordTypeDefines if an activity of a progress report is in progress or completed.
PSCredentialTypesDefines the types of Windows PowerShell credentials.
PSCredentialUIOptionsDefines the options that are available, such as different validation options, when prompting for credentials.
PSInvocationStateDefines the states of a PowerShell pipeline. This class is introduced in Windows PowerShell 2.0.
PSLanguageModeDefines what elements of the Windows PowerShell language are available to external requests. This class is introduced in Windows PowerShell 2.0.
PSMemberTypesDefines the type of members that can be added to a PSObject object.
PSMemberViewTypesDefines the methods and properties of the PSObject that are accessible. This class is introduced in Windows PowerShell 2.0.
PSTokenTypeDefines the types of tokens that can be generated from Windows PowerShell scripts. This class is introduced in Windows PowerShell 2.0.
PSTraceSourceOptionsDefines the tracing options based on the types of tracing that are enabled. For example, tracing can be enabled to trace methods, properties, errors, and more.
PSTransactionStatusDefines the status of a Windows PowerShell transaction, such as it is currently active or have the actions of the transaction been accepted or rejected. This class is introduced in Windows PowerShell 2.0.
RemoteStreamOptionsDefines the data streams that are updated with the invocation information for remote calls. This class is introduced in Windows PowerShell 2.0.
ReturnContainersDefines what type containers are returned.
RollbackSeverityDefines the error condition that will cause Windows PowerShell to automatically rollback a transaction. This class is introduced in Windows PowerShell 2.0.
ScopedItemOptionsDefines how session-state data can be used.
SessionCapabilitiesDefines 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.
SessionStateCategoryDefines the type of session state element that was being accessed when an error occurred.
SessionStateEntryVisibilityDefines the visibility of a session state entry to request from outside the session state. This class is introduced in Windows PowerShell 2.0.
ShouldProcessReasonDefines the reason why the ShouldProcess method was called.
SignatureStatusDefines the status of a signature for a file.
SigningOptionDefines the options that control what data is embedded in the signature blob.
SplitOptionsDefines 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.
VariableAccessModeDefines the access modes that can be used to trigger a variable breakpoint. This class is introduced in Windows PowerShell 2.0.
WildcardOptionsDefines the options that are available to modify how wildcard patterns are matched.

Send comments about this topic to Microsoft.
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker