August 23rd, 2012

PowerTip: Find and Import Modules

Doctor Scripto
Scripter

Summary: Learn how to find and import Windows PowerShell modules.

Hey, Scripting Guy! Question I want to get a list of all the modules that are installed with Windows PowerShell on my machine. How can you do this?

Hey, Scripting Guy! Answer Inside a Windows PowerShell console, type the following command:

Get-Module -ListAvailable

Hey, Scripting Guy! Question I want to load all of the modules that are installed with Windows PowerShell on my machine. How can you do this?

Hey, Scripting Guy! Answer Inside a Windows PowerShell console, type the following command:

Get-Module –ListAvailable | import-module

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.