From 8542248afb010852cf48109f45a39bc9012a1323 Mon Sep 17 00:00:00 2001 From: Mikey Bronowski Date: Fri, 11 Jun 2021 02:53:14 +0100 Subject: [PATCH] Update Get-AzSynapseTriggerRun.md (#15231) The current example throws an errors ``` Cannot bind parameter 'RunStartedAfter'. Cannot convert value "[DateTimeOffset]2018-09-01T21:00" to type "System.DateTimeOffset". Error: "String was not recognized as a valid DateTime." ``` --- src/Synapse/Synapse/help/Get-AzSynapseTriggerRun.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Synapse/Synapse/help/Get-AzSynapseTriggerRun.md b/src/Synapse/Synapse/help/Get-AzSynapseTriggerRun.md index 325bd159d95e..578a650c15d0 100644 --- a/src/Synapse/Synapse/help/Get-AzSynapseTriggerRun.md +++ b/src/Synapse/Synapse/help/Get-AzSynapseTriggerRun.md @@ -31,7 +31,7 @@ The **Get-AzSynapseTriggerRun** command returns detailed information about trigg ### Example 1 ```powershell -PS C:\> Get-AzSynapseTriggerRun -WorkspaceName ContosoWorkspace -Name ContosoTrigger -RunStartedAfter [DateTimeOffset]"2018-09-01T21:00" -RunStartedBefore [DateTimeOffset]"2019-09-01T21:00" +PS C:\> Get-AzSynapseTriggerRun -WorkspaceName ContosoWorkspace -Name ContosoTrigger -RunStartedAfter "2018-09-01T21:00" -RunStartedBefore "2019-09-01T21:00" ``` This command shows information about runs for ContosoTrigger in the workspace ContosoWorkspace that started between "2018-09-01T21:00" and "2019-09-01T21:00". @@ -39,7 +39,7 @@ This command shows information about runs for ContosoTrigger in the workspace Co ### Example 2 ```powershell PS C:\> $ws = Get-AzSynapseWorkspace -Name ContosoWorkspace -PS C:\> $ws | Get-AzSynapseTriggerRun -Name ContosoTrigger -RunStartedAfter [DateTimeOffset]"2018-09-01T21:00" -RunStartedBefore [DateTimeOffset]"2019-09-01T21:00" +PS C:\> $ws | Get-AzSynapseTriggerRun -Name ContosoTrigger -RunStartedAfter "2018-09-01T21:00" -RunStartedBefore "2019-09-01T21:00" ``` This command shows information about runs for ContosoTrigger in the workspace ContosoWorkspace that started between "2018-09-01T21:00" and "2019-09-01T21:00" through pipeline.