Skip to content

Commit 2fd8cf4

Browse files
sethvsSean Wheeler
authored andcommitted
Add info on POWERSHELL_TELEMETRY_OPTOUT environment variable. (#2111)
1 parent 2194a61 commit 2fd8cf4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-Core-60.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,9 @@ For a complete list of fixes and changes, check out our [changelog][] on GitHub.
377377
- the OS platform (`$PSVersionTable.OSDescription`)
378378
- the exact version of PowerShell (`$PSVersionTable.GitCommitId`)
379379

380-
If you want to opt-out of this telemetry, simply delete `$PSHome\DELETE_ME_TO_DISABLE_CONSOLEHOST_TELEMETRY`.
381-
Deleting this file bypasses all telemetry even before the first run of PowerShell.
380+
If you want to opt-out of this telemetry, simply delete `$PSHome\DELETE_ME_TO_DISABLE_CONSOLEHOST_TELEMETRY`
381+
or create `POWERSHELL_TELEMETRY_OPTOUT` environment variable with one of the following values: `true`, `1` or `yes`.
382+
Deleting this file or creating the variable bypasses all telemetry even before the first run of PowerShell.
382383
We also plan on exposing this telemetry data and the insights we glean from the telemetry in the [community dashboard][community-dashboard].
383384
You can find out more about how we use this data in this [blog post][telemetry-blog].
384385

0 commit comments

Comments
 (0)