Introducing snap-ins
Snap-ins are only available in Windows PowerShell; they are not present in PowerShell Core. A snap-in was the precursor to a module. It was the mechanism available to extend the set of commands in PowerShell 1.0. The cmdlet implementation inside a snap-in is similar to a binary module (written in a language such as C#). A snap-in contains a specialized class that holds the fields that were moved into the module manifest with PowerShell 2.0.
Snap-ins must be installed or registered before they can be used. This can be done using installutil, which is part of the .NET framework package. Many vendors (including Microsoft) took to releasing Microsoft Installer (MSI) packages to simplify the snap-in installation.
Modules have, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access