Chapter 12. Remoting and background jobs
This chapter covers:
In a day when you don’t come across any problems, you can be sure that you are traveling in the wrong path.
Swami Vivekananda
A tool intended for enterprise management that can’t actually manage distributed systems isn’t useful. Unfortunately, in PowerShell v1 very little support for remote management was built into PowerShell. This issue was fixed in PowerShell v2 by adding a comprehensive built-in remoting subsystem. This facility allows you to handle most remoting tasks in any kind of remoting configuration you might encounter.
Another related feature that v2 introduced was built-in support for background jobs. Background jobs allow multiple tasks to be executed within a single session, including mechanisms for starting, stopping, and querying these tasks. Again, this is an important feature in the enterprise environment, where you frequently have to deal with more than one task at a time.