Forum Discussion
venkatkirankona
Feb 05, 2024Brass Contributor
PowerShell Command Error Cheat Code
If Any Similar Command is Throwing this kind of error:
We can use this Cheat Code:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Best Regards,
Venkat Kiran Kona
- LeonPavesicSilver Contributor
Hi venkatkirankona,
can you please post an example of the command that is having this issue?
The error messages in the image are related to the PowerShell commands Send-MailMessage and Invoke-RestMethod and they indicate issues with the transport connection and an unexpected error during a send operation.