Test-IsCrescendoCommand

Tests whether a cmdlet was created by Crescendo.

Syntax

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

Description

Tests a cmdlet to see if it was created by Crescendo.

Examples

Example 1 - Test various cmdlet to see if they were created by 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

Parameters

-Command

The name of the cmdlet to test.

Type:Object[]
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

Object[]

Outputs

Object