InitialSessionState.ThrowOnRunspaceOpenError
Property
Definition
If this property is set and there was a runspace creation error, then throw an exception, otherwise just continue creating the runspace even though it may be in an inconsistent state.
public bool ThrowOnRunspaceOpenError { get; set; }
Property Value