RemoteRunspaceInfo.RemoteRunspaceId Property

Gets the identifier of the runspace. This identifier is useful when more than one runspace is opened on the same computer.

Namespace: System.Management.Automation.Remoting
Assembly: System.Management.Automation (in system.management.automation.dll)

Usage

Syntax

'Declaration
Public ReadOnly Property RemoteRunspaceId As Guid
public Guid RemoteRunspaceId { get; }
public:
property Guid RemoteRunspaceId {
    Guid get ();
}
/** @property */
public Guid get_RemoteRunspaceId ()
public function get RemoteRunspaceId () : Guid

Property Value

A GUID that the identifies the runspace.

Remarks

Other properties that can be used to identify the runspace include the Name and SessionId properties.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP

See Also

Reference

RemoteRunspaceInfo Class
RemoteRunspaceInfo Members
System.Management.Automation.Remoting Namespace

Other Resources

Windows PowerShell SDK