Chapter 3. Leveraging PowerShell Providers

After completing this chapter, you will be able to:

  • Understand the role of providers in Windows PowerShell

  • Use the Get-PSProvider cmdlet

  • Use the Get-PSDrive cmdlet

  • Use the Get-Item cmdlet

  • Use the Set-Location cmdlet

  • Use the file system model to access data from each of the built-in providers

Windows PowerShell provides a consistent way to access information external to the shell environment. To do this, it uses providers. These providers are actually .NET programs that hide all the ugly details to provide an easy way to access information. The beautiful thing about the way the provider model works is that all the different sources of information are accessed in exactly the same manner. This chapter demonstrates ...

Get Microsoft® Windows PowerShell™ Step By Step now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.