Updated: April 27, 2016
Applies To: Windows PowerShell
Provides information about a Windows PowerShell session on a local or remote computer. This object is returned by the New-PSSession and Get-PSSession cmdlets, and is used by the Enter-PsSession and Exit-PsSession cmdlets to specify a session.
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Gets private data for the application that is running Windows PowerShell on the computer where the session is created.
Gets an indicator that identifies the availability of the session.
Gets the name of the computer where the session is created.
Type of the computer target.
Gets the name of the session configuration that was used to create the session.
Id of the container target.
Gets or sets the name of the container target.
Gets an identifier for the session that is unique only for the session that ran the New-PSSession cmdlet.
Gets the unique identifier of this instance of the session. This identifier can be used to identify this instance of the session when running cmdlets.
Gets and sets the user friendly name for the session. This name can be used to identify the session when running cmdlets.
Gets information about the runspace for the session.
Guid of the virtual machine target.
Name of the virtual machine target.
This class cannot be inherited.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.