Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » Import-Module

Import-Module - Powershell 2.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Import-Module

Short description
Adds modules to the current session.

Syntax


Description
The Import-Module cmdlet adds one or more modules to the current session. 

A module is a package that contains members (such as cmdlets, providers, scripts, functions, variables, and other t
ools and files) that can be used in Windows PowerShell. After a module is imported, you can use the module members 
in your session. 

To import a module, use the Name, Assembly, or ModuleInfo parameter to identify the module to import. By default, I
mport-Module imports all members that the module exports, but you can use the Alias, Function, Cmdlet, and Variable
 parameters to restrict the members that are imported. 

Import-Module imports a module only into the current session. To import the module into all sessions, add an Import
-Module command to your Windows PowerShell profile. For more information about profiles, see about_Profiles. 

For more information about modules, see about_Modules.