Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
SessionType Enum
Definition
- Namespace:
- System.Management.Automation.Remoting
- Assembly:
- System.Management.Automation.dll
- Package:
- Microsoft.PowerShell.5.1.ReferenceAssemblies v1.0.0
- Package:
- System.Management.Automation v7.4.15
- Package:
- System.Management.Automation v7.5.6
- Package:
- System.Management.Automation v7.6.1
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.
Specifies type of initial session state to use. Valid values are Empty and Default.
public enum class SessionType
public enum SessionType
type SessionType =
Public Enum SessionType
- Inheritance
-
SessionType
Fields
| Name | Value | Description |
|---|---|---|
| Empty | 0 | Empty session state. |
| RestrictedRemoteServer | 1 | Restricted remote server. |
| Default | 2 | Default session state. |
