This topic has not yet been rated - Rate this topic

PSSnapInInfo Class

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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)
'Usage
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:

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.


System.Object
  System.Management.Automation.PSSnapInInfo
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.
Did you find this helpful?
(1500 characters remaining)