The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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


Type: System.String

The path from which the modules need to be imported.

Return to top

Community Additions