InitialSessionState.Create
Method
Definition
Overloads
| Create() |
Creates an empty InitialSessionState object... |
| Create(String) |
Want to get away from SnapIn and console file. Have modules and assemblies instead. Specify the registered SnapIn name or name collection |
| Create(String[], PSConsoleLoadException) | |
Create()
Creates an empty InitialSessionState object...
public static System.Management.Automation.Runspaces.InitialSessionState Create ();
Returns
Create(String)
Want to get away from SnapIn and console file. Have modules and assemblies instead. Specify the registered SnapIn name or name collection
public static System.Management.Automation.Runspaces.InitialSessionState Create (string snapInName);
Parameters
- snapInName
- String
Returns
Create(String[], PSConsoleLoadException)
public static System.Management.Automation.Runspaces.InitialSessionState Create (string[] snapInNameCollection, out System.Management.Automation.Runspaces.PSConsoleLoadException warning);
Parameters
- snapInNameCollection
- String[]
- warning
- PSConsoleLoadException
Returns