


New-ItemProperty -LiteralPath 'HKLM:\SOFTWARE\Fortinet\FortiClient\Sslvpn\Tunnels\LETSCONFIGMGRVPN2' -Name 'Server' -Value 'demovpn2.someaddress. New-ItemProperty -LiteralPath 'HKLM:\SOFTWARE\Fortinet\FortiClient\Sslvpn\Tunnels\LETSCONFIGMGRVPN2' -Name 'Description' -Value 'Lets ConfigMgr VPN 2' -PropertyType String -Force -ea Silentl圜ontinue If ($ENV:PROCESSOR_ARCHITEW6432 -eq "AMD64")

About a few seconds after the VPN Forticlient tunnel is established, the wireless LAN connection will disconnect. Then I establish a connection to my VPN Forticlient, on my Windows 10. Installation Scriptįor the sake of this demo, I am going to make up the VPN address, but this can be edited for your actual gateway address, the installation script is as follows (Save as InstallFortiClientandProfile.ps1): # Restart Process using PowerShell 64-bit It automatically connects to a wireless network. We need to create the installer and Uninstaller scripts before we can wrap and upload the files to Microsoft Intune, these scripts will deploy FortiClient VPN and configure the VPN Profile. Creating the Installer \ Uninstaller Scripts
