I have written a bunch of DSC resources for my SharePoint and SQL setup. I’ve been using the xsharepoint from github mainly. But I needed to set more settings, hence write my own.
For SQL I have one psm1 file with DSCresources classes. Some of these DSCresources are using the same methods. so I have copied them to each class. I’m no programmer. So I am wondering if there is a was to “share” a method between my classes in this psm1 file.
Any tips or recommendations are welcome.