PSSnapInInstaller Class

Serves as a base class for classes used to create Windows PowerShell snap-ins. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.


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

'Usage
Dim instance As PSSnapInInstaller

public abstract class PSSnapInInstaller : PSInstaller
public abstract class PSSnapInInstaller extends PSInstaller
public abstract class PSSnapInInstaller extends PSInstaller

Use the following two classes to create your Windows PowerShell snap-in:

PSSnapIn

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

CustomPSSnapIn

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.
Show:
© 2014 Microsoft