Prerequisites
Links
Summary
The documentation says that the 3 version keys cannot be used together.
This is incorrect because you can use both the ModuleVersion and MaximumVersion keys to specify a minimum and maximum version.
But it is true that you cannot use either of them together with RequiredVersion.
Details
No response
Suggested Fix
It's also Required to specify at least one of the three keys below.
- ModuleVersion - Specifies a minimum acceptable version of the module.
- MaximumVersion - Specifies the maximum acceptable version of the module.
- RequiredVersion - Specifies an exact, required version of the module. This cannot be used with the other Version keys.
Prerequisites
Get-Foocmdlet" instead of "Typo."Links
Summary
The documentation says that the 3 version keys cannot be used together.
This is incorrect because you can use both the
ModuleVersionandMaximumVersionkeys to specify a minimum and maximum version.But it is true that you cannot use either of them together with
RequiredVersion.Details
No response
Suggested Fix
It's also Required to specify at least one of the three keys below.