- PowerShell 教程
- PowerShell - 首頁
- PowerShell - 概述
- PowerShell - 環境設定
- PowerShell - Cmdlet
- PowerShell - 檔案和資料夾
- PowerShell - 日期和時間
- PowerShell - 檔案I/O
- PowerShell - 高階Cmdlet
- PowerShell - 指令碼編寫
- PowerShell - 特殊變數
- PowerShell - 運算子
- PowerShell - 迴圈
- PowerShell - 條件語句
- PowerShell - 陣列
- PowerShell - 雜湊表
- PowerShell - 正則表示式
- PowerShell - 反引號
- PowerShell - 方括號
- PowerShell - 別名
- PowerShell 有用資源
- PowerShell - 快速指南
- PowerShell - 有用資源
- PowerShell - 討論
PowerShell - 高階Cmdlet
Cmdlet
Cmdlet 或“Command let”是在 Windows PowerShell 環境中使用的輕量級命令。Windows PowerShell 執行時在命令提示符下呼叫這些 cmdlet。您可以透過 Windows PowerShell API 以程式設計方式建立和呼叫它們。以下是 cmdlet 的高階用法示例。
| 序號 | Cmdlet 型別和描述 |
|---|---|
| 1 |
Get-Unique Cmdlet
演示 Get-Unique Cmdlet 的示例程式。 |
| 2 |
Group-Object Cmdlet 演示 Group-Object Cmdlet 的示例程式。 |
| 3 |
Measure-Object Cmdlet
演示 Measure-Object Cmdlet 的示例程式。 |
| 4 |
Compare-Object Cmdlet
演示 Compare-Object Cmdlet 的示例程式。 |
| 5 |
Format-List Cmdlet
演示 Format-List Cmdlet 的示例程式。 |
| 6 |
Format-Wide Cmdlet
演示 Format-Wide Cmdlet 的示例程式。 |
| 7 |
Where-Object Cmdlet
演示 Where-Object Cmdlet 的示例程式。 |
| 8 |
Get-ChildItem Cmdlet
演示 Get-ChildItem Cmdlet 的示例程式。 |
| 9 |
ForEach-Object Cmdlet
演示 ForEach-Object Cmdlet 的示例程式。 |
| 10 |
Start-Sleep Cmdlet
演示 Start-Sleep Cmdlet 的示例程式。 |
| 11 |
Read-Host Cmdlet
演示 Read-Host Cmdlet 的示例程式。 |
| 12 |
Select-Object Cmdlet
演示 Select-Object Cmdlet 的示例程式。 |
| 13 |
Sort-Object Cmdlet
演示 Sort-Object Cmdlet 的示例程式。 |
| 14 |
Write-Warning Cmdlet
演示 Write-Warning Cmdlet 的示例程式。 |
| 15 |
Write-Host Cmdlet
演示 Write-Host Cmdlet 的示例程式。 |
| 16 |
Invoke-Item Cmdlet
演示 Invoke-Item Cmdlet 的示例程式。 |
| 17 |
Invoke-Expression Cmdlet
演示 Invoke-Expression Cmdlet 的示例程式。 |
| 18 |
Measure-Command Cmdlet
演示 Measure-Command Cmdlet 的示例程式。 |
| 19 |
Invoke-History Cmdlet
演示 Invoke-History Cmdlet 的示例程式。 |
| 20 |
Add-History Cmdlet
演示 Add-History Cmdlet 的示例程式。 |
| 21 |
Get-History Cmdlet
演示 Get-History Cmdlet 的示例程式。 |
| 22 |
Get-Culture Cmdlet
演示 Get-Culture Cmdlet 的示例程式。 |