ModuleIntrinsics.GetPSModulePath(ModuleIntrinsics+PSModulePathScope) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The scope of module path to retrieve. This can be User, Builtin, or Machine.
Returns
The string representing the requested module path type.