1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
$RemoteSession|select *
# State : Opened
# IdleTimeout : 7200000
# OutputBufferingMode : Block
# DisconnectedOn :
# ExpiresOn :
# ComputerName : localhost
# ConfigurationName : Microsoft.PowerShell
# InstanceId : 7e940d3b-dc24-4bdd-846e-3e8f697a6ef7
# Id : 1
# Name : Session1
# Availability : Available
# ApplicationPrivateData : {DebugMode, DebugStop, UnhandledBreakpointMode, PSVersionTable, BreakAll,
# DebugBreakpointCount}
# Runspace : System.Management.Automation.RemoteRunspace
$RemoteSession.Runspace.RunspaceStateInfo|select *
# State Reason
# ----- ------
# Opened |
Partager