Your company's ad could live here and reach over 50,000 people a month!

Share This Post

Microsoft / PowerShell

Windows PowerShell DSC – classes – resource basics (part 2)

In part one of this miniseries I explained some principals around using the new class keyword in Windows PowerShell DSC resource modules. If you haven’t read that article yet, go find it here: This part 2 will concentrate on the enum keyword and the three main functions in each resource class. Enum -erate input One of the most important things in every script (no matter what language) is error handling. PowerShell and DSC is no exception here. For me, part of error handling is also to validate input  users can provide your script or application with. Enum is used to implement constant values inside of a variable. A limitation […]

Share This Post

Leave a Reply