Chapter 21. Adding automatic remoting to advanced functions and cmdlets

Karl Prosser

This chapter’s goal is to present a design pattern to help you produce PowerShell modules that contain professional-grade cmdlets that are easy and intuitive for users to run both locally and remotely with a commercial-grade user experience. This chapter focuses on the intricacies of using a PowerShell script to create cmdlets that are robust and have built-in remoting functionality. I’ll talk briefly at the end about nuances and strategies for turning your functions into enterprise-grade modules. This chapter presumes familiarity with PowerShell remoting. If you’re not familiar with the ins and outs of fan-in and fan-out in PowerShell remoting, then get-help ...

Get PowerShell Deep Dives now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.