Archive for April 2008

Learn how to utilize .Net Objects in PowerShell

PowerShell Book.

I've received a number of requests to do a PowerShell tutorial on .NET, which I will. Most of us who have been scripting in Window's Shell and VBScript have not yet been exposed to working with .NET Objects. We've read that PowerShell is founded on the .NET Framework and cmdlets use .NET Objects, yet there really is not a simple resource available for understanding .NET, until now!!!

Introducing the PowerShell book you have been waiting for: Windows PowerShell Professional. I bought this book for one reason and one reason only! Chapter 14 - Working with .NET. The chapter was everything I though it would be. The .NET Framework is so vast, even the author agrees, that it is better to teach a man to fish… That is exactly what Andrew Watt does. For example, tools like WMI CIM Studio allows us to find and utilize WMI Classes, Properties, and Methods. He explains how we can utilize .NET Framework SDK and Visual Studio to locate and work with the .NET classes. He provides simple examples and explanations working with properties and methods of a .NET class.

Continue reading ‘Learn how to utilize .Net Objects in PowerShell’ »