Add-PsSnapIn - Powershell 1.0 CmdLet
Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.
More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.
Add-PsSnapIn
Description Add snap-ins to the console Usage Options -name string[] Name of each PSSnapIn to add to the current console e.g. Microsoft.Exchange or MyCompany.User. -passThru Pass the object created by this cmdlet through the pipeline. CommonParameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutVariable. Example(s) Add the Microsoft Exchange and Microsoft AD Directory Services snap-ins to the current console: PS C:>add-PSSnapIn Microsoft.Exchange,Microsoft.Windows.AD Add all the registered Windows PowerShell snap-ins to the console: PS C:>get-pssnapin -registered | add-pssnapin -passthru