Powershell 中运行空间和外部请求之间的区别
Difference between a runspace and external request in Powershell
根据
有一个运行空间,还有他们所说的 "external request"。我想知道这两者之间的区别,特别是 "external requests",因为我找不到任何关于什么是 Powershell "external request" 的信息。
单击您提供的 link 的 CommandOrigin 会将您带到一个页面,该页面对这些内容进行了描述:
Internal - The command was dispatched by the msh engine as a result
of a dispatch request from an already running command.
Runspace - The command was submitted via a runspace.
根据
有一个运行空间,还有他们所说的 "external request"。我想知道这两者之间的区别,特别是 "external requests",因为我找不到任何关于什么是 Powershell "external request" 的信息。
单击您提供的 link 的 CommandOrigin 会将您带到一个页面,该页面对这些内容进行了描述:
Internal - The command was dispatched by the msh engine as a result of a dispatch request from an already running command.
Runspace - The command was submitted via a runspace.