PowerShell Telemetry

This topic contains 3 replies, has 2 voices, and was last updated by Profile photo of Alfano Greg Alfano Greg 3 months, 1 week ago.

  • Author
    Posts
  • #52483
    Profile photo of Alfano Greg
    Alfano Greg
    Participant

    There was a recent discussion on the PowerShell subreddit (https://redd.it/4yolyy) in which someone found Telemetry methods on the PowerShell GitHub (https://github.com/PowerShell/PowerShell/blob/master/src/System.Management.Automation/utils/PSTelemetryMethods.cs).

    By quickly scanning through some of the comments on the GitHub page, it looks like the following things are being sent:
    • "Report Get-Help requests, how many results are returned, and how long it took.”
    • “Report when Get-Command fails to find something.”
    • “Report that a module was loaded, but only do so for modules that *might* be authored by Microsoft.”
    • “Report that a new local session (runspace) is created”
    • “Report that a new remote session (runspace) is created”
    • “Report some telemetry about the scripts that are run”

    Is there a way or are there plans to opt-out of any of this Telemetry? I understand this information could be quite useful to further the development of PowerShell but it would be nice to have some sort of control of what is being sent.

    Thanks

  • #52487
    Profile photo of Don Jones
    Don Jones
    Keymaster

    Please bear in mind that the /PowerShell repo on GitHub is owned by Microsoft. PowerShell.org, on the other hand, is a community nonprofit effort – we aren't owned by Microsoft, and can't comment on Microsoft's properties or intentions.

  • #52491
    Profile photo of Don Jones
    Don Jones
    Keymaster

    (I'd suggest opening an issue or discussion directly in PowerShell's UserVoice, or on the GitHub repo)

  • #52505
    Profile photo of Alfano Greg
    Alfano Greg
    Participant

    Thanks for the quick reply. I will look into starting a discussion on either of those two places.

You must be logged in to reply to this topic.