When a module manifest contains 'ModuleToProcess' the warning
WARNING: The module manifest member 'ModuleToProcess' has been deprecated. Use the 'RootModule' member instead.
shows up.
If the module is targeting PowerShell version 2 then changing 'ModuleToProcess' to 'RootModule' will break the module.
This warning should be suppressed when the module is targeting PowerShell version 2.
When a module manifest contains 'ModuleToProcess' the warning
shows up.
If the module is targeting PowerShell version 2 then changing 'ModuleToProcess' to 'RootModule' will break the module.
This warning should be suppressed when the module is targeting PowerShell version 2.