InitialSessionState.ImportPSModulesFromPath Method (String)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Imports all Windows PowerShell modules from a module path by default. Introduced in Windows PowerShell 3.0.

Namespace:   System.Management.Automation.Runspaces
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public void ImportPSModulesFromPath(
	string path
)

Parameters

path
Type: System.String

The path from which the modules need to be imported.

Return to top

Community Additions

ADD
Show: