VPN Forticlient FortiSSL set properties in PowerShell

VPN Forticlient FortiSSL set properties in PowerShell

avatar

Hello again
Is there a way to set the Host and the Port with PowerShell?
Could not find the right properties in the Object.
$forticlient.Host and $forticlient.HostPort are not the right ones.


forum image


Best regards
Rolf

All Comments (2)

avatar

Hello,

Sadly the property seems to be unavailable as it's stored in $sess.VPN.AddOn property and the information is compressed.
forum image

I will check with the engineering team if it's possible to update the properties using PowerShell.

Thank you for your patience.

Best regards,

Érica Poirier

avatar

Hello,

Sorry for the delay, I think you can use the technique described in this article : https://forum.devolutions.net/topics/31591/setting-the-embedded-script-in-a-powershell-session
After the decryption it will help build the data, then encrypt it back for storage...

I hope this helps, thanks for keeping us poste!

Best regards,

Alex Belisle