Quantcast
Viewing all articles
Browse latest Browse all 36188

PowerTip: Use PowerShell to Find Calling Assembly

Summary: Learn how to use Windows PowerShell to find the calling assembly.

Image may be NSFW.
Clik here to view.
Hey, Scripting Guy! Question
 How can I find the name of a calling assembly from within Windows PowerShell?

Image may be NSFW.
Clik here to view.
Hey, Scripting Guy! Answer
 Use the GetCallingAssembly static method from the [system.Reflection.Assembly] class:

[system.reflection.assembly]::GetCallingAssembly()

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 36188

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>