5 PowerShell remote execution

This chapter covers

  • Designing scripts for remote execution
  • PowerShell-based remoting
  • Hypervisor-based remoting
  • Agent-based remoting

The ability to execute remote PowerShell commands is not only essential for recurring automations, but is also a powerful tool to have in your arsenal for ad-hoc situations. Just think back on your career and remember times when you needed to gather large-scale information about your environment or apply a change across multiple servers at once. You will quickly realize this is a common situation for any IT department. And, in some cases, especially security-related ones, time can be of the essence. Therefore, before these situations arise, you will want to have PowerShell remoting ...

Get Practical Automation with PowerShell 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.