Get-Module needs parameters to support lookup via GUID, not just Name. - by Kirk Munro

Status : 


Sign in
to vote
ID 840601 Comments
Status Active Workarounds
Type Suggestion Repros 0
Opened 3/25/2014 8:07:09 AM
Access Restriction Public


Get-Module today supports lookup by module name only.  It should also support lookup by module GUID, to enable more advanced scenarios such as module auto-update via a central repository (where GUID is much more critical to know than name since name may not be unique in a global repository).  I would expect to be able to look up a loaded or unloaded module by GUID (perhaps as an -Id parameter).
Sign in to post a comment.
Posted by Kirk Munro on 12/6/2014 at 1:23 PM
If this is actually possible with the FullyQualifiedName parameter on Get-Module, then can you please provide a working example that demonstrates this? In everything I have tried with that parameter, nothing allows me to find a module using a GUID. In fact, if I provide a GUID and I use a wildcard for the name, all modules are returned, indicating to me that the GUID is being completely ignored.
Posted by China8775 on 12/6/2014 at 5:09 AM
I signed up for your IoT program about 3 semester's ago but I never received the kits i was told that I would.
Posted by Microsoft on 12/4/2014 at 6:44 PM
This is possible with the FullyQualifiedName parameter on Get-Module.