blob: 5a1852a3189856ed3da24729503a429dd7d19967 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/src/System.Management.Automation/utils/Telemetry.cs
+++ b/src/System.Management.Automation/utils/Telemetry.cs
@@ -139,7 +139,7 @@ namespace Microsoft.PowerShell.Telemetry
{
// If we can't send telemetry, there's no reason to do any of this
CanSendTelemetry = !GetEnvironmentVariableAsBool(name: _telemetryOptoutEnvVar, defaultValue: false);
- if (CanSendTelemetry)
+ if (false)
{
s_sessionId = Guid.NewGuid().ToString();
TelemetryConfiguration configuration = TelemetryConfiguration.CreateDefault();
|