Skip to content

Commit 4b3232d

Browse files
Merge pull request #226588 from bwren/patch-51
Update data-collection-rule-edit.md
2 parents ffe77c5 + b9c715b commit 4b3232d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-monitor/essentials/data-collection-rule-edit.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ In order to update DCR, we are going to retrieve its content and save it as a fi
4545
2. Execute the following commands to retrieve DCR content and save it to a file. Replace `<ResourceId>` with DCR ResourceID and `<FilePath>` with the name of the file to store DCR.
4646

4747
```PowerShell
48-
$ResourceId = <ResourceId> # Resource ID of the DCR to edit
49-
$FilePath = <FilePath> # Store DCR content in this file
48+
$ResourceId = "<ResourceId>" # Resource ID of the DCR to edit
49+
$FilePath = "<FilePath>" # Store DCR content in this file
5050
$DCR = Invoke-AzRestMethod -Path ("$ResourceId"+"?api-version=2021-09-01-preview") -Method GET
5151
$DCR.Content | ConvertFrom-Json | ConvertTo-Json -Depth 20 | Out-File -FilePath $FilePath
5252
```

0 commit comments

Comments
 (0)