Publish-PSMDScriptFile automatically ignores all modules directly in the PowerShell folder: ```powershell $command.Module.ModuleBase -eq 'C:\Windows\System32\WindowsPowerShell\v1.0' ``` But this is not sufficient, when the modules might be in a subfolder.
Publish-PSMDScriptFile automatically ignores all modules directly in the PowerShell folder:
But this is not sufficient, when the modules might be in a subfolder.