Chapter 5. Working with PSSnapins and modules

This chapter covers

  • Extending PowerShell functionality
  • Using PSSnapins and modules
  • Module discovery and automatic loading

PowerShell’s real value lies not in the hundreds of built-in commands that it ships with but in its ability to have more commands added. PowerShell extensions—our collective term for the PSSnapins and modules that can be loaded—permit PowerShell to manage anything: IIS, Exchange, SQL Server, VMware, Citrix, NetApp, SharePoint, Cisco, you name it. Being able to efficiently work with these extensions is probably one of the most important things you’ll do in the shell.

5.1. There’s only one shell

Before we jump into working with these extensions, let’s get something straight: ...

Get PowerShell in Depth, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.