Chapter 11. PowerShell remoting

 

This chapter covers

  • Commands with built-in remoting
  • PowerShell remoting subsystem
  • Using PowerShell remoting
  • Remoting sessions, persistent connections, and implicit remoting
  • Remoting considerations and custom remoting sessions

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

PowerShell is a tool intended for enterprise and cloud management but if it can’t manage distributed systems it isn’t useful. Fortunately, PowerShell has a comprehensive built-in remoting subsystem. This facility allows you to handle most remoting tasks in any kind of configuration you might encounter.

In this chapter, we’re going to cover the features of remoting and how you can apply them. We’ll use an example showing how to combine the features to solve a nontrivial problem: monitoring multiple remote machines. We’ll then look at some of the configuration considerations you need to be aware of when using PowerShell remoting.

Let’s start with a quick overview of PowerShell remoting.

11.1. PowerShell remoting overview

11.2. Applying PowerShell remoting

11.3. PowerShell remoting sessions and persistent connections

11.4. Implicit remoting

11.5. Considerations when running commands remotely

11.6. Building custom remoting services

11.7. PowerShell Direct

11.8. Summary

sitemap