Beispiel #1
0
        public override void ExecuteCmdlet()
        {
            GetTaskCountsOptions options = new GetTaskCountsOptions(this.BatchContext, this.JobId, this.Job, this.AdditionalBehaviors);

            PSTaskCounts taskCounts = BatchClient.GetTaskCounts(options);

            WriteObject(taskCounts);
        }
Beispiel #2
0
        protected override void ExecuteCmdletImpl()
        {
            GetTaskCountsOptions options = new GetTaskCountsOptions(this.BatchContext, this.JobId, this.Job, this.AdditionalBehaviors);

            PSTaskSlotCounts taskSlotCount = BatchClient.GetTaskSlotCounts(options);

            WriteObject(taskSlotCount);
        }