Chapter 12. Remoting and background jobs

 

This chapter covers:

  • 12.1 Getting started with remoting
  • 12.2 Applying PowerShell remoting
  • 12.3 Sessions and persistent connections
  • 12.4 Implicit remoting
  • 12.5 Background jobs in PowerShell
  • 12.6 Considerations when running commands remotely
  • 12.7 Summary

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.

12.1. Getting Started with Remoting

 
 
 

12.2. Applying PowerShell Remoting

 

12.3. Sessions and Persistent Connections

 
 
 
 

12.4. Implicit Remoting

 
 
 

12.5. Background Jobs in PowerShell

 

12.6. Considerations When Running Commands Remotely

 
 

12.7. Summary

 
 
 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest