nihaogirl 发表于 2018-9-2 08:09:27

从Powershell ***脚本学到的如何执行后台runspace~

PS C:\Windows\System32\WindowsPowerShell\v1.0> Get-Runspace 2 | gm  
   TypeName: System.Management.Automation.Runspaces.LocalRunspace
  
Name                         MemberType Definition
  
----                         ---------- ----------
  
AvailabilityChanged          Event      System.EventHandler`1 AvailabilityChanged(System.Object, System.Management.Automation.Runspaces.RunspaceAvailabilit...
  
StateChanged               Event      System.EventHandler`1 StateChanged(System.Object, System.Management.Automation.Runspaces.RunspaceStateEventArgs)
  
ClearBaseTransaction         Method   void ClearBaseTransaction()
  
Close                        Method   void Close()
  
CloseAsync                   Method   void CloseAsync()
  
Connect                      Method   void Connect()


页: [1]
查看完整版本: 从Powershell ***脚本学到的如何执行后台runspace~