Test-IsCrescendoCommand
测试 Cmdlet 是否由 Crescendo 创建。
语法
Test-IsCrescendoCommand
[-Command] <Object[]>
[<CommonParameters>]
说明
测试 cmdlet,以查看它是否由 Crescendo 创建。
示例
示例 1 - 测试各种 cmdlet,以查看它们是否由 Crescendo 创建
Test-IsCrescendoCommand Get-Command
Test-IsCrescendoCommand: 'Get-Command' is not a function
Test-IsCrescendoCommand Expand-Archive
Module: Microsoft.PowerShell.Archive
Name IsCrescendoCommand RequiresElevation
---- ------------------ -----------------
Expand-Archive False False
Test-IsCrescendoCommand Get-VssProvider
Module: VssAdmin
Name IsCrescendoCommand RequiresElevation
---- ------------------ -----------------
Get-VssProvider True False
参数
-Command
要测试的 cmdlet 的名称。
类型: | Object[] |
Position: | 0 |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
输入
Object[]