Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Get-PSSnapin

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

Get-PSSnapin

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

Syntax


Description
The Get-PSSnapin cmdlet gets the Windows PowerShell snap-ins that have been added to the current session or that have 
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 
included 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 http://go.microsoft.com/fwlink/?LinkId=143619.


Beginning in Windows PowerShell 3.0, the core commands that are included in Windows PowerShell are packaged in 
modules. The exception is Microsoft.PowerShell.Core, which is a snap-in (PSSnapin). Only the Microsoft.PowerShell.Core 
snap-in is added to the session by default. Modules are imported automatically on first use and you can use the 
Import-Module cmdlet to import them.