0
遠程的powershell會話(PSSession)具有相應的wsmprovhost過程。我如何獲得對應於PSSession的進程ID?我試着PowerShell會話列表上運行Get-成員,這裏是什麼,我得到了一個部分:獲取遠程的powershell會話的進程ID
Name MemberType
---- ----------
Equals Method
GetHashCode Method
GetType Method
ToString Method
ApplicationPrivateData Property
Availability Property
ComputerName Property
ConfigurationName Property
Id Property
InstanceId Property
Name Property
Runspace Property
IdleTimeout ScriptProperty
OutputBufferingMode ScriptProperty
State ScriptProperty