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?
Replace ModuleToProcess with RootModule
Forum rules
Do not post any licensing information in this forum.
Do not post any licensing information in this forum.
Re: Replace ModuleToProcess with RootModule
Can you clarify what you mean by you can't version your module?
According to PowerShell documentation, ModuleToProcess is simply an alias for RootModule in later versions of PowerShell.
According to PowerShell documentation, ModuleToProcess is simply an alias for RootModule in later versions of PowerShell.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.