Se viene visualizzato il seguente errore, è necessario abilitare il supporto TLS 1.2 per .NET.
PS C:\> Invoke-WebRequest https://appsource.microsoft.com/
Invoke-WebRequest: la connessione sottostante è stata chiusa: si è verificato un errore imprevisto durante un invio.
At line:1 char:1
+ Invoke-WebRequest https://appsource.microsoft.com/
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest)
[Invoke-WebRequest], WebException
+ FullyQualifiedErrorId :
WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand