如何找出 PowerShell cmdlet 的 DLL 路径 [英] How to find out DLL path of a PowerShell cmdlet

查看:59
本文介绍了如何找出 PowerShell cmdlet 的 DLL 路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用一些从模块导入的 cmdlet,并想找出 DLL 的物理位置,以便我可以对它们使用 dotPeek 或 Reflector.有没有办法以某种方式找出DLL路径?

I am using some cmdlets imported from a module and would like to find out where the DLLs are physically located so that I can use dotPeek or Reflector on them. Is there a way to find out the DLL path somehow?

推荐答案

try with

( get-command my-cmdlet ).dll

这篇关于如何找出 PowerShell cmdlet 的 DLL 路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆