Summary

In this chapter, we briefly explored the job commands built into PowerShell; since they are built in, they are a solid starting point for running asynchronous operations.

Event subscribers are used to reacting to events, or things of interest, that happen. The event commands are used to work with events on .NET objects.

Finally, we looked at how Runspaces and Runspace pools can be used in PowerShell as an efficient method of working asynchronously.

In the next chapter, we will explore the building blocks of larger scripts.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.186.72