Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Remove-Module

Remove-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 »


Short description
Removes modules from the current session.

Remove-Module [-ModuleInfo] <PSModuleInfo[]> [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]

Remove-Module [-Name] <string[]> [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]

The Remove-Module cmdlet removes the members of a module from the current session. 

If the module includes an assembly (.dll), all members that are implemented by the assembly are removed, but the as
sembly is not unloaded.