diff --git a/src/Synapse/Synapse/help/Get-AzSynapsePipelineRun.md b/src/Synapse/Synapse/help/Get-AzSynapsePipelineRun.md index f91c31e948b7..b5f2b23be6e8 100644 --- a/src/Synapse/Synapse/help/Get-AzSynapsePipelineRun.md +++ b/src/Synapse/Synapse/help/Get-AzSynapsePipelineRun.md @@ -43,13 +43,28 @@ The **Get-AzSynapsePipelineRun** command returns information about runs for the ## EXAMPLES -### Example 1 +### Example 1: Get pipeline run by ID ```powershell PS C:\> Get-AzSynapsePipelineRun -WorkspaceName ContosoWorkspace -PipelineRunId "61eb095a-fe23-4591-8a97-fade6c65ca72" ``` This command gets details about the pipeline run with ID "61eb095a-fe23-4591-8a97-fade6c65ca72". +### Example 2: Get pipelines runs between the dates +```powershell +PS C:\> $ws = Get-AzSynapseWorkspace -Name ContosoWorkspace +PS C:\> $ws | Get-AzSynapsePipelineRun -RunStartedAfter "4/2/2007 7:23:57 PM" -RunStartedBefore "4/2/2027 7:23:57 PM" +``` + +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" + +### Example 3: Get a single pipeline runs between the dates +```powershell +PS C:\> Get-AzSynapsePipelineRun -WorkspaceName ContosoWorkspace -Name ContosoPipeline -RunStartedAfter "4/2/2007 7:23:57 PM" -RunStartedBefore "4/2/2027 7:23:57 PM" +``` + +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" + ## PARAMETERS ### -DefaultProfile