Sdílet prostřednictvím


ModuleIntrinsics.GetPSModulePath(ModuleIntrinsics+PSModulePathScope) Method

Definition

Retrieve the current PSModulePath for the specified scope.

public static string GetPSModulePath (System.Management.Automation.ModuleIntrinsics.PSModulePathScope scope);
static member GetPSModulePath : System.Management.Automation.ModuleIntrinsics.PSModulePathScope -> string
Public Shared Function GetPSModulePath (scope As ModuleIntrinsics.PSModulePathScope) As String

Parameters

scope
ModuleIntrinsics.PSModulePathScope

The scope of module path to retrieve. This can be User, Builtin, or Machine.

Returns

The string representing the requested module path type.

Applies to