Remove-PSSnapin - Powershell 1.0 CmdLet
Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.
More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.
Remove-PSSnapin
Description Remove PowerShell snap-ins from the console Usage Options -name string[] Name of each PSSnapIn to remove from the current console e.g. Microsoft.Exchange or MyCompany.User. -passThru Pass the object created by this cmdlet through the pipeline. -whatIf Describe what would happen if you executed the command without actually executing the command. -confirm Prompt for confirmation before executing the command. CommonParameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutVariable. Example(s) Remove the Micrsoft.Exchange snap-in from the current console: PS C:>remove-pssnapinn -name Microsoft.Exchange