Replace ModuleToProcess with RootModule
Posted: Fri Aug 10, 2018 10:36 am
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
Now that PowerShell 2.0 is officially being depreciated can we have all products that can create Powershell Modules replace the line
ModuleToProcess = 'TestModule.psm1'
with
RootModule = 'TestModule.psm1'
in the module manifest? Without using RootModule, you cannot version your module. Yes you can easily edit that line but its an annoyance and really no longer needed. If the thought is to keep support for v2 way of doing this still - can we have an option in the options box to be able to toggle between what is put in the manifest?
Now that PowerShell 2.0 is officially being depreciated can we have all products that can create Powershell Modules replace the line
ModuleToProcess = 'TestModule.psm1'
with
RootModule = 'TestModule.psm1'
in the module manifest? Without using RootModule, you cannot version your module. Yes you can easily edit that line but its an annoyance and really no longer needed. If the thought is to keep support for v2 way of doing this still - can we have an option in the options box to be able to toggle between what is put in the manifest?