Scripting Blog

A place to learn about PowerShell and share stories of automation

Adding Methods to PowerShell 5 Classes—The Video

Summary: Microsoft Scripting Guy, Ed Wilson, presents a video about adding methods to Windows PowerShell 5 classes in Windows 10.Microsoft Scripting Guy, Ed Wilson, is here. Today I am presenting a video where I talk about adding methods to Windows PowerShell 5.0 classes in Windows 10. To be honest, a class with no methods does not do too...

Create PowerShell 5 Classes with Enums—The Video

Summary: Microsoft Scripting Guy, Ed Wilson, presents a video about creating Windows PowerShell 5.0 classes by using enums in Windows 10.Microsoft Scripting Guy, Ed Wilson, is here. Today, I continue my video series about creating classes. I create a couple of enums and use them as types for my properties of the Car class.Note  For more ...

Weekend Scripter: Create a Simple PowerShell 5 Class—The Video

Summary: Ed Wilson, Microsoft Scripting Guy, presents a video about adding members to Windows PowerShell 5.0 classes in Windows 10.Microsoft Scripting Guy, Ed Wilson, is here. Today I want to present a video I made that illustrates how to create a simple Windows PowerShell 5.0 class. In the video, I cover using the Class and Static ...