Skip to content

Commit d090a38

Browse files
authored
Update script file name
1 parent 63722b7 commit d090a38

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

docs/sql-server/azure-arc/sql-monitoring.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,17 @@ This article explains how to prevent your Arc-enabled SQL Server instances from
2323

2424
Prior to disabling or enabling monitoring data collection, you must first enabled the `SqlManagement` feature flag. This is a feature flag that will automatically be enabled in a future release. However, it is required to toggle the `monitoring.enabled` property on your Arc-enabled SQL Server using the Azure CLI.
2525

26-
1. Download the [`set-monitoring.ps1`](https://github.com/microsoft/sql-server-samples/tree/master/samples/manage/azure-arc-enabled-sql-server/monitoring/set-monitoring.ps1) PowerShell script from GitHub.
26+
1. Download the [`set-feature-flags.ps1`](https://github.com/microsoft/sql-server-samples/tree/master/samples/manage/azure-arc-enabled-sql-server/monitoring/set-feature-flags.ps1) PowerShell script from GitHub.
2727

28-
1. Configure and run `set-monitoring.ps1` in a PowerShell terminal on your Azure Arc-enabled Server.
28+
1. Configure and run `set-feature-flags.ps1` in a PowerShell terminal on your Azure Arc-enabled Server.
29+
30+
```powershell
31+
set-feature-flags.ps1 `
32+
-Subscription "<Your-subscription-ID>" `
33+
-ResourceGroup "contoso-rg" `
34+
-MachineName "contoso-sql-host" `
35+
-FeatureFlagsToEnable ("SqlManagement")
36+
```
2937

3038
### Disable monitoring data collection
3139

0 commit comments

Comments
 (0)