Test-IsCrescendoCommand
Crescendo에서 cmdlet을 만들었는지 여부를 테스트합니다.
구문
Test-IsCrescendoCommand
[-Command] <Object[]>
[<CommonParameters>]
Description
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 |
Default value: | None |
필수: | True |
파이프라인 입력 허용: | True |
와일드카드 문자 허용: | False |
입력
Object[]
출력
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
PowerShell