Chapter 10. PowerShell Remoting

 

This chapter covers

  • Outlining Remoting technologies and protocols
  • Configuring and securing Remoting endpoints
  • Exploring Remoting scenarios
  • Using implicit Remoting

Remoting was one of the major new technologies introduced in PowerShell v2 and in the broader Management Framework v2 of which PowerShell is a part. With v3, Microsoft has continued to invest in this important foundational technology.

Remoting is a complex technology, and we’ll do our best to explore it as thoroughly as possible. But some uses for Remoting are outside the purview of an administrator: Programming custom-constrained runspaces, for example, requires software development skills that are outside the scope of this book.

Note

Everything in this chapter focuses on PowerShell v3, but the majority of the material also applies to v2. The two versions of the shell can talk to each other via Remoting; that is, a v2 shell can connect to a v3 shell, and vice versa.

10.1. The many forms of remote control

The first thing we need to clear up is the confusion over the word remote. PowerShell v2 offers two means for connecting to remote computers:

10.2. Remoting overview

10.3. Using Remoting

10.4. PSSessions

10.5. Advanced session techniques

10.6. Creating a custom endpoint

10.7. Connecting to nondefault endpoints

10.8. Enabling the “second hop”

10.9. Setting up WinRM listeners

10.10. Other configuration scenarios

10.11. Implicit Remoting

10.12. Summary