ModuleIntrinsics.GetModulePath(String, String, String) Method

Definition

Checks the various PSModulePath environment string and returns PSModulePath string as appropriate.

public:
 static System::String ^ GetModulePath(System::String ^ currentProcessModulePath, System::String ^ hklmMachineModulePath, System::String ^ hkcuUserModulePath);
public:
 static Platform::String ^ GetModulePath(Platform::String ^ currentProcessModulePath, Platform::String ^ hklmMachineModulePath, Platform::String ^ hkcuUserModulePath);
 static std::wstring GetModulePath(std::wstring const & currentProcessModulePath, std::wstring const & hklmMachineModulePath, std::wstring const & hkcuUserModulePath);
public static string GetModulePath (string currentProcessModulePath, string hklmMachineModulePath, string hkcuUserModulePath);
static member GetModulePath : string * string * string -> string
Public Shared Function GetModulePath (currentProcessModulePath As String, hklmMachineModulePath As String, hkcuUserModulePath As String) As String

Parameters

currentProcessModulePath
String
hklmMachineModulePath
String
hkcuUserModulePath
String

Returns

Applies to