Skip to content

Commit 2389650

Browse files
committed
add parameters
1 parent eabc6b0 commit 2389650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Monitor/Monitor/help/Set-AzDiagnosticSetting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ All other time grains and categories are unchanged.
119119

120120
### Example 5: Using pipeline
121121
```
122-
PS C:\>Get-AzDiagnosticSetting -ResourceId "Resource01" | Set-AzDiagnosticSetting
122+
PS C:\>Get-AzDiagnosticSetting -ResourceId "Resource01" | Set-AzDiagnosticSetting -Enabled $True -Category Category1,Category2
123123
```
124124

125125
This command uses the PowerShell pipeline to set (no change made) a diagnostic setting.

0 commit comments

Comments
 (0)