Get-PSSnapin - PowerShell


 

Gets the Windows PowerShell snap-ins on the computer. (Get-PSSnapin)

   

# NAME
Get-PSSnapin

# SYNOPSIS
Gets the Windows PowerShell snap-ins on the computer.

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

# 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.

# PARAMETERS
-Name <string[]>
Gets only the specified Windows PowerShell snap-ins. Enter the names of one or more Windows PowerShell snap-ins. Wildcards are permitted.

The parameter name ("Name") is optional.

Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Registered [<SwitchParameter>]
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.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

# INPUTS
None
You cannot pipe input to Get-PSSnapin.

# OUTPUTS
System.Management.Automation.PSSnapInInfo
Get-PSSnapin returns an object for each snap-in that it gets.

# NOTES

You can refer to Get-PSSnapin by its built-in alias, "psnp". For more information, see about_Aliases.

# EXAMPLE 1

C:\PS>get-PSSnapIn

# Description
-----------
This command gets the Windows PowerShell snap-ins that are currently loaded in the session. This includes the snap-ins that are installed with Windows PowerShell and those that have been added to the session.

# EXAMPLE 2

C:\PS>get-PSSnapIn -registered

# Description
-----------
This command gets the Windows PowerShell snap-ins that have been registered on the computer, including those that have already been added to the session. The output does not include snap-ins that are installed with Windows PowerShell or Windows PowerShell snap-in dynamic-link libraries (DLLs) that have not yet been registered on the system.

# EXAMPLE 3

C:\PS>get-PSSnapIn smp*

# Description
-----------
This command gets the Windows PowerShell snap-ins in the current session that have names that begin with "smp".

RELATED LINKS
Online version: http://go.microsoft.com/fwlink/?LinkID=113330
Add-PSSnapin
Remove-PSSnapin

C:\Windows>powershell get-help Export-Console -full

ColorConsole [Version 1.7.1000] PowerShell 2.0-Export
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2014 Microsoft Corporation.

OS: Windows 10, 8.1, 8, 7, Vista / Windows Server 2016, 2012, 2008
»»»» ColorConsole








Windows-10





Windows-10

... facebook.de
... Windows-10 FAQ
... Windows-10 Info


Become a Sponsor
... Your button here?





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

HTTP: ... PS_Windows/en/Get-PSSnapin.htm
0.14
11868

I can not download the alternative command prompt for windows 10, why?

 /

DesktopOK isn't saving my desktop icons. How do i uninstall it?

 /

Das Windows Server 2008 2012 Kennwort macht mich verrückt?

 /

Can you make Q-Dir to be configurable what search tool to start?

 /

Windows-7- 30 Tage sind abgelaufen, welche Nachteile habe ich?

 /

Keep the Mouse Speed on all Windows OS!

 /

What is phishing?

 /

Quad-Directory-Explorer 3.31 and Windows 98 on 10?

 /

Can I open User Account Control Settings in Windows 7?

 /

Trace Route O.K. path of your data packets over the internet!

 /

Beim Benutzer wechseln Speichern / Wiederherstellen der Desktop Icons!

 /

Wie kann man ein Systemabbild unter Windows 10 erstellen (Systemsicherheit)?

 /