InitialSessionState.CreateFrom 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.
Overloads
CreateFrom(String, PSConsoleLoadException) | |
CreateFrom(String[], PSConsoleLoadException) |
CreateFrom(String, PSConsoleLoadException)
public:
static System::Management::Automation::Runspaces::InitialSessionState ^ CreateFrom(System::String ^ snapInPath, [Runtime::InteropServices::Out] System::Management::Automation::Runspaces::PSConsoleLoadException ^ % warnings);
public static System.Management.Automation.Runspaces.InitialSessionState CreateFrom (string snapInPath, out System.Management.Automation.Runspaces.PSConsoleLoadException warnings);
static member CreateFrom : string * PSConsoleLoadException -> System.Management.Automation.Runspaces.InitialSessionState
Public Shared Function CreateFrom (snapInPath As String, ByRef warnings As PSConsoleLoadException) As InitialSessionState
Parameters
- snapInPath
- String
- warnings
- PSConsoleLoadException
Returns
Applies to
CreateFrom(String[], PSConsoleLoadException)
public:
static System::Management::Automation::Runspaces::InitialSessionState ^ CreateFrom(cli::array <System::String ^> ^ snapInPathCollection, [Runtime::InteropServices::Out] System::Management::Automation::Runspaces::PSConsoleLoadException ^ % warnings);
public static System.Management.Automation.Runspaces.InitialSessionState CreateFrom (string[] snapInPathCollection, out System.Management.Automation.Runspaces.PSConsoleLoadException warnings);
static member CreateFrom : string[] * PSConsoleLoadException -> System.Management.Automation.Runspaces.InitialSessionState
Public Shared Function CreateFrom (snapInPathCollection As String(), ByRef warnings As PSConsoleLoadException) As InitialSessionState
Parameters
- snapInPathCollection
- String[]
- warnings
- PSConsoleLoadException