Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Get PowerShell Module by Using –FullyQualifiedName Parameter

$
0
0

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"}


Viewing all articles
Browse latest Browse all 3333

Trending Articles