Skip to content

Commit fed4db4

Browse files
Update Get-AzSynapsePipelineRun.md by adding more examples covering more scenarios (#15232)
* Update Get-AzSynapsePipelineRun.md * Update Get-AzSynapsePipelineRun.md
1 parent 83c3a31 commit fed4db4

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

src/Synapse/Synapse/help/Get-AzSynapsePipelineRun.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,28 @@ The **Get-AzSynapsePipelineRun** command returns information about runs for the
4343

4444
## EXAMPLES
4545

46-
### Example 1
46+
### Example 1: Get pipeline run by ID
4747
```powershell
4848
PS C:\> Get-AzSynapsePipelineRun -WorkspaceName ContosoWorkspace -PipelineRunId "61eb095a-fe23-4591-8a97-fade6c65ca72"
4949
```
5050

5151
This command gets details about the pipeline run with ID "61eb095a-fe23-4591-8a97-fade6c65ca72".
5252

53+
### Example 2: Get pipelines runs between the dates
54+
```powershell
55+
PS C:\> $ws = Get-AzSynapseWorkspace -Name ContosoWorkspace
56+
PS C:\> $ws | Get-AzSynapsePipelineRun -RunStartedAfter "4/2/2007 7:23:57 PM" -RunStartedBefore "4/2/2027 7:23:57 PM"
57+
```
58+
59+
This command gets details about the runs of all pipelines in the workspace ContosoWorkspace that started between "4/2/2007 7:23:57 PM" and "4/2/2027 7:23:57 PM"
60+
61+
### Example 3: Get a single pipeline runs between the dates
62+
```powershell
63+
PS C:\> Get-AzSynapsePipelineRun -WorkspaceName ContosoWorkspace -Name ContosoPipeline -RunStartedAfter "4/2/2007 7:23:57 PM" -RunStartedBefore "4/2/2027 7:23:57 PM"
64+
```
65+
66+
This command gets details about the runs of ContosoPipeline pipeline in the workspace ContosoWorkspace that started between "4/2/2007 7:23:57 PM" and "4/2/2027 7:23:57 PM"
67+
5368
## PARAMETERS
5469

5570
### -DefaultProfile

0 commit comments

Comments
 (0)