19.5. Summary

COM scripting can be both a very rewarding and a very frustrating experience. PowerShell provides excellent support for working with COM objects, but as you have seen from the examples in this chapter, hidden things still may come out to bite you when you least expect them. Hopefully, the examples we have gone through have covered the major interoperability problems, like working with collections and indexer properties, so that you know and fix them when you see them. What is left now is to explore the various applications and parts of the operating system that you use in your daily work. Chances are, those applications and services already have a COM automation interface exposed that is waiting for you to take advantage of it. ...

Get Pro Windows 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.