Will most likely need to create 2 separate versions of the module and dynamically load the correct one. https://docs.microsoft.com/en-us/powershell/gallery/concepts/module-psedition-support#option-2-use-psedition-variable-in-the-psd1-file-to-load-the-proper-dlls-and-nestedrequired-modules