windowsPowerShell Invoke-WebRequest with TLS 1.2The PowerShell function Invoke-WebRequest can be used to specifically invoke TLS 1.2 when writing a PowerShell script for example checking that a site is up for example or getting a response from an API.Tech NinjaOctober 11, 2023