October 26th, 2012

PowerTip: Easily Load all Windows PowerShell Modules

Doctor Scripto
Scripter

Summary: See how to load all Windows PowerShell modules into a current session.

Hey, Scripting Guy! Question How can I load all Windows PowerShell modules I have on my system?

          Hey, Scripting Guy! Answer Use the Get-Module cmdlet with the ListAvailable switch, and pipe the results to the Import-Module cmdlet.

                           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.