Skip to content

Commit 61833c1

Browse files
authored
Merge pull request Azure#9442 from hvermis/master
[Datafactory] Fixing Select-Object pipe support for some of the ADF list cmdlets
2 parents 9e4376e + 7a110f6 commit 61833c1

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

src/DataFactory/DataFactoryV2/Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Updating the output of get activity runs, get pipeline runs, and get trigger runs ADF cmdlets to support Select-Object pipe.
2223

2324
## Version 1.1.1
2425
* Add SsisProperties if NodeCount not null for managed integration runtime.

src/DataFactory/DataFactoryV2/Runs/GetAzureDataFactoryActivityRunCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public override void ExecuteCmdlet()
7373
ActivityName = ActivityName,
7474
Status = Status
7575
};
76-
WriteObject(DataFactoryClient.ListActivityRuns(activityRunFilter));
76+
WriteObject(DataFactoryClient.ListActivityRuns(activityRunFilter), true);
7777
}
7878
}
7979
}

src/DataFactory/DataFactoryV2/Runs/GetAzureDataFactoryPipelineRunCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public override void ExecuteCmdlet()
9898
LastUpdatedAfter = LastUpdatedAfter,
9999
LastUpdatedBefore = LastUpdatedBefore
100100
};
101-
WriteObject(DataFactoryClient.ListPipelineRuns(runFilter));
101+
WriteObject(DataFactoryClient.ListPipelineRuns(runFilter), true);
102102
}
103103
}
104104
}

src/DataFactory/DataFactoryV2/Runs/GetAzureDataFactoryTriggerRunCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public override void ExecuteCmdlet()
5757
TriggerRunStartedAfter = TriggerRunStartedAfter,
5858
TriggerRunStartedBefore = TriggerRunStartedBefore
5959
};
60-
WriteObject(DataFactoryClient.ListTriggerRuns(triggerRunFilter));
60+
WriteObject(DataFactoryClient.ListTriggerRuns(triggerRunFilter), true);
6161
}
6262
}
6363
}

0 commit comments

Comments
 (0)