#PSTip PowerShell and the pre-configured user agent strings
Note: This tip requires PowerShell 3.0 or above. The Invoke-WebRequest and Invoke-RestMethod cmdlets have the -UserAgent parameter, so you can specify a user agent string for the web request.
Read More