25 Wrapping up the .NET Framework
As you begin exploring the possibilities of what PowerShell can achieve, you’ll inevitably encounter situations where there’s no prebuilt cmdlet to perform your desired task. In many instances, you may find that the extensive .NET Framework, or possibly an external command, an old component object model (COM) object, or something else, can address your needs. Can you use raw .NET components in your scripts? The answer isn’t a straightforward no, but it’s also not a definitive yes.
25.1 Why PowerShell exists
To understand this better, let’s reflect on why PowerShell exists in the first place. Microsoft Windows, as an operating system, offers an abundance of tools designed to facilitate automation. It’s inherent ...
Get Learn PowerShell Scripting in a Month of Lunches, Second Edition 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.