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

PowerTip: Import All PowerShell Modules

$
0
0

Summary: Learn to easily import all Windows PowerShell modules.

Hey, Scripting Guy! Question How can I import all Windows PowerShell modules into my current Windows PowerShell session?

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

You can also use aliases:

gmo -l | ipmo


Viewing all articles
Browse latest Browse all 3333

Trending Articles