9 Working outside of PowerShell

This chapter covers

  • Different ways to interact with resources outside of PowerShell
  • Using COM objects to interact with other applications
  • How to call local executables from PowerShell
  • Working with remote API

While PowerShell is a very robust language with multiple different integrations and custom modules, there are still some situations in which you need to work with something outside of PowerShell. This can range from calling separate executables to remote API calls and interacting directly with Component Object Module (COM) objects and Dynamic Link Library (DLL) files. As you will see, PowerShell has specially built cmdlets to deal with each one of these situations.

In this chapter, you will learn how to interact ...

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.