PSSnapIn Constructor
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)
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)
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 aboutWindows PowerShell snap-ins, see Windows PowerShell Snap-ins.
Target Platforms
Windows Developer Preview, Windows Server Developer PreviewSend comments about this topic to Microsoft.
