PSModuleInfo.ModuleBase Property


Get the module base directory for this module. For modules loaded via a module manifest, this will be the directory containing the manifest file rather than the directory containing the actual module file. This is particularly useful when loading a GAC'ed assembly.

 property System::String ^ ModuleBase { System::String ^ get(); };
 property Platform::String ^ ModuleBase { Platform::String ^ get(); };
public string ModuleBase { get; }
member this.ModuleBase : string
Public ReadOnly Property ModuleBase As String

Property Value

Applies to