Skip to content

Commit d9878cb

Browse files
fixing a typo (#14779)
'IncludeContext' parameter accepts boolean values and 'true' is a string. It should be '$true'
1 parent a6ae8c0 commit d9878cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AlertsManagement/AlertsManagement/help/Get-AzAlert.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Get-AzAlert [-TargetResourceId <String>] [-MonitorService <String>] [-MonitorCon
4242

4343
### Example 1
4444
```powershell
45-
PS C:\> Get-AzAlert -Severity "Sev2" -MonitorCondition "Fired" -IncludeContext true
45+
PS C:\> Get-AzAlert -Severity "Sev2" -MonitorCondition "Fired" -IncludeContext $true
4646
```
4747

4848
List all alerts with Sev2 severity and Fired monitor condition. Setting IncludeContext to true, include custom payload of alert.

0 commit comments

Comments
 (0)