O'Reilly logo

Windows PowerShell in Action, Third Edition by Bruce Payette Richard Siddaway

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 20. The PowerShell and runspace APIs

This chapter covers

  • The PowerShell Application Programming Interface (API)
  • How to perform isolated and concurrent operations
  • Runspaces and runspace pools
  • Out-of-process and remote runspaces
  • Basic runspace management techniques

Here’s a rule I recommend: never practice two vices at once.

Tallulah Bankhead

So far, we’ve been dealing with PowerShell as a shell and scripting environment. In this chapter, we’re going to look at it as an Application Programming Interface (API). An API is a set of functions, data structures, and classes that let you build applications on top of the software exposing that API. For example, the PowerShell ISE is an application that uses the PowerShell API. Normally, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required