Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Remove-PSSnapin

Remove-PSSnapin - 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 Windows PowerShell snap-ins from the current session.

Remove-PSSnapin [-Name] <string[]> [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]

The Remove-PSSnapin cmdlet removes a Windows PowerShell snap-in from the current session. You can use it to remove 
snap-ins that you have added to Windows PowerShell, but you cannot use it to remove the snap-ins that are installed
 with Windows PowerShell. 

After a snap-in is removed from the current session, it is still loaded, but the cmdlets and providers in the snap-
in are no longer available in the session.