summaryrefslogtreecommitdiff
path: root/app-shells/pwsh/files/pwsh-7.5.0-disable-telemetry.patch
blob: 921262a6a3519944373eced81e2929a5bfe6b3ca (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
@@ -640,6 +640,8 @@ namespace Microsoft.PowerShell.Telemetry
                         "Az Predictor"
                     };
             }
+
+        CanSendTelemetry = false;
         }
 
         /// <summary>