共用方式為


InitialSessionState.ImportPSModulesFromPath(String) Method

Definition

Imports all the modules from the specified module path by default.

public:
 void ImportPSModulesFromPath(System::String ^ path);
public:
 void ImportPSModulesFromPath(Platform::String ^ path);
void ImportPSModulesFromPath(std::wstring const & path);
public void ImportPSModulesFromPath (string path);
member this.ImportPSModulesFromPath : string -> unit
Public Sub ImportPSModulesFromPath (path As String)

Parameters

path
String

Path from which all modules need to be imported.

Applies to