O'Reilly logo

Windows PowerShell™ 2.0: Administrator’s Pocket Consultant by William R. Stanek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Navigating Windows PowerShell Extensions

Windows PowerShell can be extended in several different ways. Typically, extensions are in the form of PowerShell snap-ins that add PowerShell providers to the working environment. The data that a provider exposes appears in a drive that you can browse. PowerShell V2 introduces module extensions, which must be imported before you use them.

Working with Windows PowerShell Extensions

Cmdlets that you’ll use to work with Windows PowerShell snap-ins, providers, and drives include:

  • Add-PSSnapin. Adds one or more registered snap-ins to the current session. After you add a snap-in, you can use the cmdlets and providers that the snap-in supports in the current session.

    Add-PSSnapin [-PassThru] [-Name] Strings
  • Export-Console ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required