Home Dashboard Directory Help
Search

Import-Module needs a -Guid parameter to disambiguate like #requires -module has by Joel 'Jaykul' Bennett


Status: 

Active


2
0
Sign in
to vote
Type: Suggestion
ID: 786022
Opened: 5/1/2013 12:21:15 PM
Access Restriction: Public
0
Workaround(s)
view

Description

Import-Module needs parity with the #requires statement (and vice versa).

Right now there's no way to use Import-Module to import a module with a specific GUID the way there is with #requires, (and #requires doesn't have the -MinimumVersion vs -RequiredVersion semantics). See the Expected results for examples of what I would like to be able to do
Details
Sign in to post a comment.
Sign in to post a workaround.