public override void ExecuteCmdlet() { GetTaskCountsOptions options = new GetTaskCountsOptions(this.BatchContext, this.JobId, this.Job, this.AdditionalBehaviors); PSTaskCounts taskCounts = BatchClient.GetTaskCounts(options); WriteObject(taskCounts); }
protected override void ExecuteCmdletImpl() { GetTaskCountsOptions options = new GetTaskCountsOptions(this.BatchContext, this.JobId, this.Job, this.AdditionalBehaviors); PSTaskSlotCounts taskSlotCount = BatchClient.GetTaskSlotCounts(options); WriteObject(taskSlotCount); }