Partager via


ForEachObjectCommand.AsJob Property

Definition

Gets or sets a flag that returns a job object immediately for the parallel operation, instead of returning after all foreach processing is completed.

[System.Management.Automation.Parameter(ParameterSetName="ParallelParameterSet")]
public System.Management.Automation.SwitchParameter AsJob { get; set; }
[<System.Management.Automation.Parameter(ParameterSetName="ParallelParameterSet")>]
member this.AsJob : System.Management.Automation.SwitchParameter with get, set
Public Property AsJob As SwitchParameter

Property Value

Attributes

Applies to