cmdlet 파이프

파이프를 사용하여 cmdlet을 연결할 수 있습니다. 한 cmdlet에서 반환된 개체가 다른 cmdlet의 입력으로 사용됩니다. 하나의 명령에서 cmdlet 조합이 구현되며 두 개의 연속하는 cmdlet이 파이프 문자로 연결됩니다. 파이프 문자 왼쪽에 있는 cmdlet에서 반환된 개체가 파이프 문자 오른쪽에 있는 cmdlet의 입력이 됩니다. 마찬가지로, 파이프 문자를 사용하여 해당 cmdlet을 다른 cmdlet과 조합할 수 있으며 두 번째 cmdlet의 개체 출력이 세 번째 cmdlet의 입력으로 사용됩니다. 이러한 파이프라인의 명령은 표시되는 순서대로 왼쪽에서 오른쪽으로 처리되지만 하나의 작업으로 처리되고 생성된 출력이 표시됩니다.

파이프 조합

Windows Server AppFabric cmdlet은 다른 cmdlet과 함께 사용되도록 디자인되었습니다. 모든 cmdlet을 파이프 시퀀스에 사용할 수 있는 것은 아닙니다. 파이프 문자 왼쪽에 있는 cmdlet의 출력이 파이프 문자 오른쪽에 있는 cmdlet의 입력과 일치해야 합니다. 두 가지 방식으로 이러한 경우가 발생할 수 있습니다. 첫째, 첫 번째 cmdlet이 두 번째 cmdlet에 필요한 입력 개체와 동일한 형식의 개체를 출력할 수 있습니다. 둘째, 첫 번째 cmdlet의 출력 개체 특성을 두 번째 cmdlet의 매개 변수로 사용할 수 있습니다. 첫 번째 조건이 기본값이며, 명령을 실행할 때 Windows PowerShell 엔진에서 이 조건을 확인합니다. 첫 번째 조건이 발생하지 않는 경우 Windows PowerShell 엔진은 두 번째 조건을 찾습니다.

파이프 시퀀스에서 연결할 수 있는 AppFabric 매개 변수는 다음과 같습니다.

Cmdlet 제작자 출력 데이터 형식 Cmdlet 소비자

Get-ASApplication

ApplicationInfo

ServiceInfo와의 공통 사항:

Get-ASInstanceUnloadPolicy

Set-ASInstanceUnloadPolicy

Get-ASAppServicePersistence

Set-ASAppServicePersistence

Get-ASInstanceExceptionPolicy

Get-ASAppServiceTracking Profile

Get-ASAppServiceTracking

Import-ASAppServiceTrackingProfile

Remove-ASAppServiceTracking Profile

Get-ASAppServiceCertificate

Set-ASAppServiceCertificate

Get-ASAppServiceThrottling

Set-ASAppServiceThrottling

ApplicationInfo에만 해당:

Enable-ASAppDebugTracing

Disable-ASAppDebugTracing

Get-ASAppDebugTracing

Set-ASAppDebugTracing

Get-ASApplication

Enable-ASAppMessageLogging

Disable-ASAppMessageLogging

Get-ASAppMessageLogging

Set-ASAppMessageLogging

Get-ASAppPerformanceCounter

Set-ASAppPerformanceCounter

Get-ASAppService

Get-ASAppService

ServiceInfo

Application Info와의 공통 사항:

Get-ASInstanceUnloadPolicy

Set-ASInstanceUnloadPolicy

Get-ASAppServicePersistence

Set-ASAppServicePersistence

Get-ASInstanceExceptionPolicy

Get-ASAppServiceTrackingProfile

Import-ASAppServiceTrackingProfile

Remove-ASAppServiceTrackingProfile

Get-ASAppServiceCertificate

Set-ASAppServiceCertificate

Get-ASAppServiceThrottling

Set-ASAppServiceThrottling

ServiceInfo에만 해당:

Enable-ASAppServiceAutoStart

Disable-ASAppServiceAutoStart

Get-ASAppServiceAutoStart

Get-ASAppServiceTracking

Get-ASAppServiceEndpoint

Set-ASAppServiceEndpoint

Get-ASAppServiceEndpointAuthentication

Get-ASAppServiceEndpointTransportQuota

Set-ASAppServiceEndpointTransportQuota

Get-ASAppServiceInstance

Get-ASAppDebugTracing

DebugTracingInfo

-

Get-ASInstanceExceptionPolicy

InstanceSuspendOn UnhandledExceptionInfo

-

Get-ASInstanceUnloadPolicy

InstanceUnloadInfo

-

Get-ASAppMessageLogging

ApplicationMessageLoggingInfo

-

Get-ASAppMonitoring

-

Get-ASMonitoringDatabaseArchiveConfiguration

DatabaseInfo

-

Get-ASAppPerformanceCounter

PerformanceCounterInfo

-

Get-ASAppServiceAutoStart

ServiceAutoStartInfo

-

Get-ASAppServiceCertificate

ServiceCertificateInfo

-

Get-ASAppServiceEndpoint

ServiceEndpointInfo

Get-ASAppServiceEndpointAuthentication

Get-ASAppServiceEndpointTransportQuota

Set-ASAppServiceEndpointAuthentication

Set-ASAppServiceEndpointTransportQuota

Get-ASAppServiceCertificateEndpointAuthentication

ServiceEndpointAuthenticationInfo

-

Get-ASAppServiceCertificateEndpointTransportQuota

ServiceEndpointTransportQuotaInfo

-

Get-ASAppServiceInstance

ServiceInstanceInfo

Stop-ASAppServiceInstance

Suspend-ASAppServiceInstance

Resume-ASAppServiceInstance

Get-ASAppServicePersistence

ServicePersistenceInfo

-

Get-ASAppServiceThrottling

ServiceThrottlingInfo

-

Get-ASAppServiceTrackingProfile

TrackingProfileInfo

-

  2011-12-05