Skip to main content
Version: v3

SnapIn Element (Ps Extension)

Description
Identifies the parent File as a PowerShell snap-in to be registered on the system.
Windows Installer references
None
Parents
File
Inner Text
None
Children
Choice of elements (min: 0, max: unbounded)
Attributes
NameTypeDescriptionRequired
IdString The identifier for this PowerShell snap-in. Yes
AssemblyNameStringThis attribute has been deprecated. 
CustomSnapInTypeString The full type name of a class that is used to register a list of cmdlets and providers.  
DescriptionString A brief description of the snap-in.  
DescriptionIndirectEmbeddedResource An embedded resource that contains a brief description of the snap-in. This resource must be embedded in the current snap-in assembly.  
RequiredPowerShellVersionVersionType The required version of PowerShell that must be installed and is associated with the snap-in registration. The default value is "1.0".  
VendorString The name of the snap-in vendor.  
VendorIndirectEmbeddedResource An embedded resource that contains the name of the snap-in vendor. This resource must be embedded in the current snap-in assembly.  
VersionVersionType The version of the snapin. If not specified, this is taken from the assembly name.  
Remarks
PowerShell snap-ins allow developers to extend the functionality of of the PowerShell engine. Add this element to identify the parent File as a PowerShell snap-in that will get registered on the system.
See Also
Ps Schema