We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eabc6b0 commit 2389650Copy full SHA for 2389650
src/Monitor/Monitor/help/Set-AzDiagnosticSetting.md
@@ -119,7 +119,7 @@ All other time grains and categories are unchanged.
119
120
### Example 5: Using pipeline
121
```
122
-PS C:\>Get-AzDiagnosticSetting -ResourceId "Resource01" | Set-AzDiagnosticSetting
+PS C:\>Get-AzDiagnosticSetting -ResourceId "Resource01" | Set-AzDiagnosticSetting -Enabled $True -Category Category1,Category2
123
124
125
This command uses the PowerShell pipeline to set (no change made) a diagnostic setting.
0 commit comments