提供程序

概述

参考:

PowerShell Providers(提供程序) 是 .NET 程序

内置提供程序

PowerShell 包含一组内置提供程序,可提供对不同类型对象的访问。

  • Alias provider
  • Drive - Alias:
  • Object types - System.Management.Automation.AliasInfo
  • Certificate provider
  • Drive - Cert:
  • Object types - Microsoft.PowerShell.Commands.X509StoreLocationSystem.Security.Cryptography.X509Certificates.X509Certificate2
  • Environment provider
  • Drive - Env:
  • Object types - System.Collections.DictionaryEntry
  • FileSystem provider
  • Drive - C: and other depending on hardware
  • Object types - System.IO.FileInfoSystem.IO.DirectoryInfo
  • Function provider
  • Drive - Function:
  • Object types - System.Management.Automation.FunctionInfo
  • Registry provider
  • Drive - HKLM:HKCU:
  • Object types - Microsoft.Win32.RegistryKey
  • Variable provider
  • Drive - Variable:
  • Object types - System.Management.Automation.PSVariable
  • WSMan provider
  • Drive - WSMan:
  • Object types - Microsoft.WSMan.Management.WSManConfigContainerElement