Test-IsCrescendoCommand
Test of er een cmdlet is gemaakt door Crescendo.
Syntaxis
Default (Standaard)
Test-IsCrescendoCommand
[-Command] <Object[]>
[<CommonParameters>]
Description
Test een cmdlet om te zien of deze is gemaakt door Crescendo.
Voorbeelden
Voorbeeld 1: test verschillende cmdlets om te zien of ze zijn gemaakt door 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
De naam van de cmdlet die moet worden getest.
Parametereigenschappen
| Type: | Object[] |
| Default value: | None |
| Ondersteunt jokertekens: | False |
| DontShow: | False |
Parametersets
(All)
| Position: | 0 |
| Verplicht: | True |
| Waarde uit pijplijn: | True |
| Waarde uit pijplijn op eigenschapsnaam: | False |
| Waarde van resterende argumenten: | False |
CommonParameters
Deze cmdlet ondersteunt de algemene parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction en -WarningVariable. Zie about_CommonParametersvoor meer informatie.