Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opt-out PowerShell telemetry data to Microsoft #2249

Closed
jorgnord opened this issue Jul 2, 2024 · 1 comment · Fixed by #2332
Closed

opt-out PowerShell telemetry data to Microsoft #2249

jorgnord opened this issue Jul 2, 2024 · 1 comment · Fixed by #2332

Comments

@jorgnord
Copy link

jorgnord commented Jul 2, 2024

PowerShell sends basic telemetry data to Microsoft using Application Insights!

The below URL describes the telemetry collected in PowerShell and how to opt-out:

https://learn.microsoft.com/en-gb/powershell/module/microsoft.powershell.core/about/about_telemetry?view=powershell-7.4

SOLUTION:

Create persistent environment variables

https://learn.microsoft.com/en-gb/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-7.4#powershell-environment-variables

about_Telemetry

Open the System Control Panel. ( appwiz.cpl )
Select System.
Select Advanced System Settings.
Go to the Advanced tab.
Select Environment Variables....
POWERSHELL_TELEMETRY_OPTOUT = 1

Make your changes.

@MyDrift-user
Copy link
Contributor

Hey @jorgnord
This Issue can be closed now, #2273 got merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants