Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Get-PSSnapin

Get-PSSnapin - Powershell 2.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.


Short description
Gets the Windows PowerShell snap-ins on the computer.

Get-PSSnapin [[-Name] <string[]>] [-Registered] [<CommonParameters>]

The Get-PSSnapin cmdlet gets the Windows PowerShell snap-ins that have been added to the current session or that ha
ve been registered on the system. The snap-ins are listed in the order in which they are detected.

Get-PSSnapin gets only registered snap-ins. To register a Windows PowerShell snap-in, use the InstallUtil tool incl
uded with the Microsoft .NET Framework 2.0. For more information, see "How to Register Cmdlets, Providers, and Host
 Applications" in the MSDN (Microsoft Developer Network) library at