Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 调用线程无法访问此对象,因为不同的线程拥有它
我正在尝试从 PowerShell 中检索打印队列列表,如下所示。但我收到一个错误,如下图所示
是否因为 PowerShell 无法支持多线程而发生? 有没有办法解决这个问题?