PowerTip: Use PowerShell to Find Calling Assembly

Doctor Scripto

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

Hey, Scripting Guy! Question How can I find the name of a calling assembly from within Windows PowerShell?

Hey, Scripting Guy! Answer Use the GetCallingAssembly static method from the [system.Reflection.Assembly] class:

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

0 comments

Discussion is closed.

Feedback usabilla icon