Assembly: System.Management.Automation (in System.Management.Automation.dll)
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.
Target PlatformsWindows Developer Preview, Windows Server Developer Preview
Send comments about this topic to Microsoft.