共用方式為


about_Core_Commands

簡短描述

列出設計來與 PowerShell 提供者搭配使用的 Cmdlet。

詳細描述

PowerShell 包含一組 Cmdlet,專為管理 PowerShell 提供者所公開之數據存放區中的項目而設計。 您可以使用這些 Cmdlet,以相同方式管理提供者提供給您的所有不同類型的數據。 如需提供者的詳細資訊,請輸入“get-help about_providers”。

例如,您可以使用 Get-ChildItem Cmdlet 來列出文件系統目錄中的檔案、登錄機碼下的機碼,或由您寫入或下載之提供者所公開的專案。

以下是專為與提供者搭配使用而設計的PowerShell Cmdlet 清單:

ChildItem Cmdlet

  • Get-ChildItem

內容 Cmdlet

  • Add-Content
  • Clear-Content
  • Get-Content
  • Set-Content

專案 Cmdlet

  • Clear-Item
  • Copy-Item
  • Get-Item
  • Invoke-Item
  • Move-Item
  • 新增專案
  • Remove-Item
  • Rename-Item
  • Set-Item

ItemProperty Cmdlet

  • Clear-ItemProperty
  • Copy-ItemProperty
  • Get-ItemProperty
  • Move-ItemProperty
  • New-ItemProperty
  • Remove-ItemProperty
  • Rename-ItemProperty
  • 設置-ItemProperty

位置 Cmdlet

  • Get-Location
  • Pop-Location
  • Push-Location
  • Set-Location

路徑 Cmdlet

  • Join-Path
  • Convert-Path
  • 分割路徑
  • Resolve-Path
  • Test-Path

PSDrive Cmdlet

  • Get-PSDrive
  • New-PSDrive
  • Remove-PSDrive

PSProvider Cmdlet

  • Get-PSProvider

如需 Cmdlet 的詳細資訊,請輸入 get-help <cmdlet-name>

另請參閱