InitialSessionState.CreateFrom Method
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.
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
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