PowerTip: Get PowerShell Module by Using –FullyQualifiedName Parameter

Doctor Scripto

Summary: Learn how to get a specific Windows PowerShell module by using the –FullyQualifiedName parameter.

Hey, Scripting Guy! Question How can I look at the specific version of a Windows PowerShell module?

Hey, Scripting Guy! Answer In Windows PowerShell 4.0, you can do this by using the –FullyQualifiedName parameter of the 
           Get-Module cmdlet. You specify a hash table that contains the name and version of the module
           (you can also use the GUID). Here is an example using my Windows PowerShell ISE module:

Get-Module –FullyQualifiedName @{modulename="powershellisemodule";moduleversion="4.0"}


Discussion is closed.

Feedback usabilla icon