PowerTip: Load All PowerShell Modules at Startup

Doctor Scripto

Summary: Learn how to load all Windows PowerShell modules at startup.

Hey, Scripting Guy! Question How can I load all of my Windows PowerShell modules when I start the Windows PowerShell console?

Hey, Scripting Guy! Answer In your Windows PowerShell profile, use the Get-Module cmdlet and pipe the results to the 
           Import-Module cmdlet, for example:

Get-Module -ListAvailable | Import-Module


Discussion is closed.

Feedback usabilla icon