The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSSnapIn Constructor ()


Updated: April 27, 2016

Applies To: Windows PowerShell

Creates a new PSSnapIn object. (Be aware that Windows PowerShell 2.0 introduced support for modules, which is the preferred method to add cmdlets and providers.)

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

protected PSSnapIn()

Windows PowerShell snap-ins are assemblies used to register cmdlets and providers, which allow you to extend the functionality of a runspace with the functionality of your own cmdlets and providers. For more information about Windows PowerShell snap-ins, see Windows PowerShell Snap-ins [ps].

Return to top

Community Additions