Dela via


Test-IsCrescendoCommand

Testar om en cmdlet har skapats av Crescendo.

Syntax

Test-IsCrescendoCommand
    [-Command] <Object[]>
    [<CommonParameters>]

Description

Testar en cmdlet för att se om den skapades av Crescendo.

Exempel

Exempel 1 – Testa olika cmdletar för att se om de har skapats av 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

Parametrar

-Command

Namnet på cmdleten som ska testas.

Typ:Object[]
Position:0
Standardvärde:None
Obligatorisk:True
Godkänn pipeline-indata:True
Godkänn jokertecken:False

Indata

Object[]

Utdata

Object