DiD you know : You can find the assembly that contains a particular cmdlet

POSH TIP: Find .Net assembly Name that implements a particular cmdlet

Use the Get-Command cmdlet along with the name of the target cmdlet for getting the implementing assembly like below..

(Get-Command -name Get-Process).DLL

Put the get-command along with name parameter within parenthesis and then use the ‘DLL’ property

The DLL property returns the assembly that actually contains the implementation of the cmdlet.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s