CmdID

CmdID / PowerShell / Cmdlets / Remove

Remove-PSSnapin

Removes Windows PowerShell snap-ins from the current session. PowerShell reference

From the PowerShell reference 4 parameters Alias rsnp

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

What it does

from the PowerShell reference, CC BY 4.0

Removes Windows PowerShell snap-ins from the current session. 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 You cannot use this cmdlet to remove the snap-ins that are installed with Windows PowerShell. After you remove a snap-in from the current session, the snap-in is still loaded, but the cmdlets and providers in the snap-in are no longer available in the session.

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

Remove a snap-in

Remove-PSSnapin -Name Microsoft.ExchangeIdentify

Remove snap-ins by using names with the pipeline

Get-PSSnapin smp* | Remove-PSSnapinIdentify

Remove snap-ins by using names

Remove-PSSnapin -Name eventIdentify

Its page in the reference: Remove-PSSnapin.

Parameters

4 in the PowerShell reference
-NameSpecifies the names of Windows PowerShell snap-ins to remove from the current session. Wildcard characters (*) are permitted.
-PassThruReturns an object that represents the snap-in. By default, this cmdlet does not generate any output.
-ConfirmPrompts you for confirmation before running the cmdlet.
-WhatIfShows what would happen if the cmdlet runs. The cmdlet is not run.