CommandInvocationIntrinsics.GetCmdletByTypeName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the cmdlet info using the name of the cmdlet's implementing type. This bypasses session state and retrieves the command directly. Note that the help file and snapin/module info will both be null on returned object.
public:
System::Management::Automation::CmdletInfo ^ GetCmdletByTypeName(System::String ^ cmdletTypeName);
public System.Management.Automation.CmdletInfo GetCmdletByTypeName (string cmdletTypeName);
member this.GetCmdletByTypeName : string -> System.Management.Automation.CmdletInfo
Public Function GetCmdletByTypeName (cmdletTypeName As String) As CmdletInfo
Parameters
- cmdletTypeName
- String
The type name of the class implementing this cmdlet.
Returns
CmdletInfo for the cmdlet if found, null otherwise.