OutTarget Enum

Definition

Output modes available to the Receive-PSSession cmdlet.

C++
public enum class OutTarget
Inheritance
OutTarget

Fields

Name Value Description
Default 0

Default mode. If

Host 1

Synchronous mode. Receive-PSSession output data goes to host (returned by cmdlet object).

Job 2

Asyncronous mode. Receive-PSSession ouput data goes to returned job object.

Applies to

Product Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0