Set-M365DSCTelemetryOption¶
Description¶
Writes telemetry settings such as enabled state, instrumentation key, project name, and connection string to machine environment variables.
Output¶
This function does not generate any output.
Parameters¶
| Parameter | Required | DataType | Default Value | Allowed Values | Description |
|---|---|---|---|---|---|
| Enabled | False | Boolean | Specifies whether telemetry should be enabled. | ||
| InstrumentationKey | False | String | Specifies the Application Insights instrumentation key. | ||
| ProjectName | False | String | Specifies the telemetry project name value. | ||
| ConnectionString | False | String | Specifies the Application Insights connection string. |
Examples¶
-------------------------- EXAMPLE 1 --------------------------
Set-M365DSCTelemetryOption -Enabled $false