Powershell-高级cmdlet

时间:2019-08-20 13:50:56  来源:igfitidea点击:

cmdlet

cmdlet或“Command let”是在Windows PowerShell环境中使用的轻量级命令。Windows PowerShell运行时在命令提示符下调用这些cmdlet。我们可以通过WindowsPowerShellAPI以编程方式创建和调用它们。以下是cmdlet的高级用法示例。

示例说明
Get-Unique Cmdlet显示Get-Unique Cmdlet的示例程序。
Group-Object Cmdlet显示组对象Cmdlet的示例程序。
Measure-Object Cmdlet演示度量对象Cmdlet的示例程序。
Compare-Object Cmdlet显示比较对象Cmdlet的示例程序。
Format-List Cmdlet显示格式列表Cmdlet的示例程序。
Format-Wide Cmdlet显示格式范围Cmdlet的示例程序。
Where-Object Cmdlet演示Where Object Cmdlet的示例程序。
Get-ChildItem Cmdlet显示Get-ChildItem Cmdlet的示例程序。
ForEach-Object Cmdlet显示ForEach Object Cmdlet的示例程序。
Start-Sleep Cmdlet显示Start-Sleep Cmdlet的示例程序。
Read-Host Cmdlet显示Read Host Cmdlet的示例程序。
Sort-Object Cmdlet显示Sort-Object Cmdlet的示例程序。
Write-Warning Cmdlet显示Write-Warning Cmdlet的示例程序。
Write-Host Cmdlet显示Write-Host Cmdlet的示例程序。
Invoke-Item Cmdlet显示Invoke-Item Cmdlet的示例程序。
Invoke-Expression Cmdlet演示Invoke Expression Cmdlet的示例程序。
Measure-Command Cmdlet演示Measure命令Cmdlet的示例程序。
Invoke-History Cmdlet显示Invoke History Cmdlet的示例程序。
Add-History Cmdlet显示Add History Cmdlet的示例程序。
Get-History Cmdlet显示Get History Cmdlet的示例程序。
Get-Culture Cmdlet显示Get Culture Cmdlet的示例程序。