Quick Post – Get Cmdlet Related DLL

image

In some situation you are running a cmdlet, but you have no idea where it is stored. I mean you don’t know to which “*.dll” it belongs to or maybe you want to know some more details about the command.

A very easy way to figure this out for the Get-AzureRmResource cmdlet…

(Get-Command Get-AzureRmResource).DLL

image

…as you can see the output will be the path to the “Microsoft.Azure.Commands.ResourceManager.Cmdlets.dll”. Of course you could run this command with any other cmdlet.

If you want to see other interesting details just run…

Get-Command Get-AzureRmResource | Select *

image

Finding the related DLL was quite useful for me in the past, so I though it might help you as well.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s