LoginSignup
1
1

More than 5 years have passed since last update.

[PowerShell]ある特定のAssemblyの名前空間(namespace)の一覧を取得する方法

Last updated at Posted at 2015-03-26

ちょっと色々調べていたら、あるモジュール(Assembly)の名前空間(namespace)の一覧を取得したくなったのでメモ。
PowerShellで1行で書けます。

[Reflection.Assembly]:: LoadFrom( "モジュールのパス" ).GetTypes().Namespace | sort -Unique

クリップボードに貼り付けたいならパイプで

[Reflection.Assembly]:: LoadFrom( "モジュールのパス" ).GetTypes().Namespace | sort -Unique | clip

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1