SnapIn element (Powershell extension)
Identifies the parent File as a PowerShell snap-in to be registered on the system.
Attributes
CustomSnapInType
stringThe full type name of a class that is used to register a list of cmdlets and providers.
Description
stringA brief description of the snap-in.
DescriptionIndirect
EmbeddedResourceAn embedded resource that contains a brief description of the snap-in. This resource must be embedded in the current snap-in assembly.
Id
string requiredThe identifier for this PowerShell snap-in.
RequiredPowerShellVersion
wxs:VersionTypeThe required version of PowerShell that must be installed and is associated with the snap-in registration. The default value is “1.0”.
Vendor
stringThe name of the snap-in vendor.
VendorIndirect
EmbeddedResourceAn embedded resource that contains the name of the snap-in vendor. This resource must be embedded in the current snap-in assembly.
Version
wxs:VersionTypeThe version of the snapin. If not specified, this is taken from the assembly name.
Children
Parents
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.