Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Modify the User-Agent string presented when we download packages from the gallery to include information about the software versions being used for the download process by including it in the User-Agent header. The gallery already records user-agent information but this is not currently very useful.
The same header would be sent to any other repository (such as an internal nuget feed or nuget.org). We would not emit telemetry directly from the powershellget, and would not get any information about downloads from other feeds than powershellgallery.com.
Desired information:
Version of PowerShellGet, PackageManagement (and NugetProvider?) (eg PowerShellGet 2.1.0)
Version and Edition of PowerShell (eg PowerShell Core 6.1.1)
Identifier for operating system
We should not include any personally identifiable information.
This would allow us to make better-informed decisions about which versions of the components above are most commonly-used in the wild.
If there are concerns about this proposal please note them below.