PSSnapInInfo Class

Provides information about a Windows PowerShell snap-in. Snap-ins are used to add and cmdlets or Windows PowerShell provider to a session.

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

Dim instance As PSSnapInInfo

Public Class PSSnapInInfo
public class PSSnapInInfo
public class PSSnapInInfo

A Windows PowerShell snap-in is created using one of the following two classes:


Derive from this class to create a snap-in that registers all the cmdlets and providers in an assembly.


Derive from this class to create a snap-in that registers a specific list of cmdlets and providers. A custom snap-in can be used to register a subset of the cmdlets and providers in a large assembly or register cmdlets and providers that are implemented in different assemblies.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
© 2014 Microsoft