I’m currently writing a module with class-based DSC resources.
All the examples I’ve seen out there involve putting all the class-based DSC resources for a module in the .psm1 file, which is all fine and dandy, except that this code file gets very long after a while…
I seem to remember in the past with a preview of WMF 5 trying to put the class-based resources in their own separate ps1 files that the psm1 would load, but this did not seem to work. I have not tried again with WMF 5 RTM (yet).
Does anyone know if there is a proper / supported way to divvy up class-based DSC resources into their own files? Or for this approach is the only option to have them all inside the .psm1 file?