Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about_Requires MaximumVersion key not documented #4541

Open
mklement0 opened this issue Jul 10, 2019 · 0 comments

Comments

Projects
None yet
3 participants
@mklement0
Copy link
Contributor

commented Jul 10, 2019

You can pass a hashtable to #requires -Modules that is effectively converted to a [Microsoft.PowerShell.Commands.ModuleSpecification] instance behind the scenes.

The linked topic only mentions keys ModuleVersion and RequiredVersion, and neglects to mention MaximumVersion, which is also supported.

As an aside, [Microsoft.PowerShell.Commands.ModuleSpecification] deserves mentioning in about_Modules: where it can be used, and how it relates to the parameters of cmdlets such as Import-Module.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@sdwheeler sdwheeler changed the title MaximumVersion key not documented about_Requires MaximumVersion key not documented Jul 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.