Open Nicolas-Eileo opened 2 years ago
Add this ligne to fix this error message :
Invoke-RestMethod : The request was aborted: Could not create SSL/TLS secure channel. At C:\Program Files\OCS Inventory Agent\Plugins\lastpublic.ps1:6 char:11 $myjson = Invoke-RestMethod -Uri https://www.ipinfo.io/json + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc eption + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Invoke-RestMethod : The request was aborted: Could not create SSL/TLS secure channel. At C:\Program Files\OCS Inventory Agent\Plugins\lastpublic.ps1:6 char:11
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc eption + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
@mythevalentinus @gillesdubois @damienbelliard @fbomj ?
Add this ligne to fix this error message :