ModuleCmdletBase.LoadModule Method

Namespace: Microsoft.PowerShell.Commands
Assembly: System.Management.Automation (in system.management.automation.dll)

Usage

Syntax

'Declaration
Protected Friend Function LoadModule ( _
    moduleName As String, _
    fileName As String, _
    moduleBase As String, _
    <OutAttribute> ByRef found As Boolean _
) As PSModuleInfo
protected internal PSModuleInfo LoadModule (
    string moduleName,
    string fileName,
    string moduleBase,
    out bool found
)
protected public:
PSModuleInfo^ LoadModule (
    String^ moduleName, 
    String^ fileName, 
    String^ moduleBase, 
    [OutAttribute] bool% found
)
protected PSModuleInfo LoadModule (
    String moduleName, 
    String fileName, 
    String moduleBase, 
    /** @attribute OutAttribute() */ /** @ref */ boolean found
)

Parameters

  • moduleName
  • fileName
  • moduleBase
  • found

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP

See Also

Reference

ModuleCmdletBase Class
ModuleCmdletBase Members
Microsoft.PowerShell.Commands Namespace