POSH TIP: Get .Net Class Name that implements a particular cmdlet
Use the Get-Command cmdlet along with the name of the target cmdlet for getting the implementing class like below..
(Get-Command -name Get-Process).ImplementingType.Name
Put the get-command along with name parameter within parenthesis and then use the ‘Name’ property of ‘ImplementingType’ property
The ImplementingType property returns the runtimeType object that actually contains the name of class implementing the cmdlet.
The output looks like below..GetProcessCommand is the class implementing the Get-Process cmdlet
GetProcessCommand
Leave a comment