about_Core_Commands
简短说明
列出设计用于 PowerShell 提供程序的 cmdlet。
长说明
PowerShell 包含一组专门设计用来管理 PowerShell 提供程序公开的数据存储中的项的 cmdlet。 可以使用这些 cmdlet 采用相同的方式来管理提供程序提供的所有不同类型的数据。 有关提供程序的详细信息,请键入 "get-help about_providers"。
例如,可以使用 Get-ChildItem cmdlet 列出文件系统目录中的文件、注册表项下的项,或由你编写或下载的提供程序公开的项。
下面是设计用于提供程序的 PowerShell cmdlet 的列表:
ChildItem cmdlets
- Get-ChildItem
Content cmdlet
- Add-Content
- Clear-Content
- Get-Content
- Set-Content
Item cmdlet
- Clear-Item
- Copy-Item
- Get-Item
- Invoke-Item
- Move-Item
- New-Item
- Remove-Item
- Rename-Item
- Set-Item
ItemProperty cmdlets
- Clear-ItemProperty
- Copy-ItemProperty
- Get-ItemProperty
- Move-ItemProperty
- New-ItemProperty
- Remove-ItemProperty
- Rename-ItemProperty
- Set-ItemProperty
位置 cmdlet
- Get-Location
- Pop-Location
- Push-Location
- Set-Location
路径 cmdlet
- Join-Path
- Convert-Path
- Split-Path
- Resolve-Path
- Test-Path
PSDrive cmdlets
- Get-PSDrive
- New-PSDrive
- Remove-PSDrive
PSProvider cmdlet
- Get-PSProvider
有关 cmdlet 的详细信息,请键入 get-help <cmdlet-name>
。
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈