Create PowerShell 5 Classes with Enums—The Video

Doctor Scripto

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 information, refer to Adding Enums to PowerShell 5 Classes.

[View:https://youtu.be/6RaKgOMnyfc:550:0]

Here is a link to the video from YouTube if you would like to download it or play it offline in a different video player: Using Enums In PowerShell Classes by Ed Wilson.

Please join me tomorrow when I will present a video that demonstrates how to add methods to a Windows PowerShell class.

I invite you to follow me on Twitter and Facebook. If you have any questions, send email to me at scripter@microsoft.com, or post your questions on the Official Scripting Guys Forum. See you tomorrow. Until then, peace.

Ed Wilson, Microsoft Scripting Guy 

0 comments

Discussion is closed.

Feedback usabilla icon