CmdID

CmdID / PowerShell / Cmdlets / Get

Get-PSSnapin

Gets the Windows PowerShell snap-ins on the computer. PowerShell reference

From the PowerShell reference 2 parameters Alias gsnp

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

Gets the Windows PowerShell snap-ins on the computer. 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. This cmdlet lists the snap-ins 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. Starting 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). By default, only the Microsoft.PowerShell.Core snap-in is added to the session. Modules are imported automatically on first use and you can use the Import-Module cmdlet to import them.

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

Get snap-ins that are currently loaded

PS C:> Get-PSSnapinIdentify

Get snap-ins that have been registered

PS C:> Get-PSSnapin -RegisteredIdentify

Get current snap-ins that match a string

PS C:> Get-PSSnapin -Name smp*Identify

Its page in the reference: Get-PSSnapin.

Parameters

2 in the PowerShell reference
-NameSpecifies an array of snap-in names. This cmdlet gets only the specified Windows PowerShell snap-ins. Wildcard characters are permitted.
-RegisteredIndicates that this cmdlet gets the Windows PowerShell snap-ins that have been registered on the system even if they have not yet been added to the session. The snap-ins that are installed with Windows PowerShell do not appear in this list. Without this parameter, Get-PSSnapin gets the Windows PowerShell snap-ins that have been added to the session.