September 2017
Beginner to intermediate
272 pages
8h 8m
English
The main disadvantage of class-based DSC resources is that you cannot use them in an environment that has both PowerShell V4 and PowerShell V5 installed, while module-based DSC resources work fine in either version. This makes transitioning hard as it is unlikely you will be able to upgrade an entire environment to PowerShell V5 at once. This will influence your decisions on making custom DSC resources now, as you will have to anticipate and plan for the version of PowerShell that is on the target host in the future.
This is especially important if you are making a DSC resource you want to share with the community. If you choose to implement it as a class-based DSC resource, then you are potentially ...
Read now
Unlock full access