CmdletInfo CmdletInfo CmdletInfo Class


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

public class CmdletInfo : System.Management.Automation.CommandInfo
type CmdletInfo = class
    inherit CommandInfo
Public Class CmdletInfo
Inherits CommandInfo


CmdletInfo(String, Type) CmdletInfo(String, Type) CmdletInfo(String, Type)

Directly create a cmdlet object from a type. This allows unregistered commands to be called. It also allows the overhead of command discovery to be bypassed.


CommandType CommandType CommandType Inherited from CommandInfo
DefaultParameterSet DefaultParameterSet DefaultParameterSet

Gets the name of the default parameter set.

Definition Definition Definition

Gets the synopsis of the cmdlet

HelpFile HelpFile HelpFile

Gets the help file path for the cmdlet.

ImplementingType ImplementingType ImplementingType

Gets the type that implements the cmdlet

Module Module Module Inherited from CommandInfo
ModuleName ModuleName ModuleName Inherited from CommandInfo
Name Name Name Inherited from CommandInfo
Noun Noun Noun

Gets the noun of the cmdlet.

Options Options Options

Gets or sets the scope options for the alias

OutputType OutputType OutputType

Return the output types specified on the cmdlet.

PSSnapIn PSSnapIn PSSnapIn

Gets the Snap-in in which the cmdlet is implemented.

ParameterSets ParameterSets ParameterSets Inherited from CommandInfo
Parameters Parameters Parameters Inherited from CommandInfo
RemotingCapability RemotingCapability RemotingCapability Inherited from CommandInfo
Source Source Source Inherited from CommandInfo
Verb Verb Verb

Gets the verb of the cmdlet

Version Version Version

Gets the source version

Visibility Visibility Visibility Inherited from CommandInfo


ResolveParameter(String) ResolveParameter(String) ResolveParameter(String) Inherited from CommandInfo
ToString() ToString() ToString() Inherited from CommandInfo

Applies to