Fortinet white logo
Fortinet white logo

Administration Guide

FortiClient (Windows) CLI commands

FortiClient (Windows) CLI commands

FortiClient supports the following CLI installation options with FortiESNAC.exe for endpoint control:

Usage:
c:\Program Files\Fortinet\FortiClient\FortiESNAC.exe -r|--register <address/invitation> [-p|--port <port>] [-v|--vdom <site>]
c:\Program Files\Fortinet\FortiClient\FortiESNAC.exe -u|--unregister
c:\Program Files\Fortinet\FortiClient\FortiESNAC.exe -d|--details

Options:
  -h --help Show the help screen
  -r --register Register using an EMS address or an invitation code
  -p --port EMS port, ignored if registering by invitation code (Optional, 8013 by default)
  -v --vdom EMS site, ignored if registering by invitation code (Optional, "Default" by default)
  -u --unregister Unregister from the current EMS
  -k --key Key for registering/deregistering from EMS if required.
                   Will prompt for user input if key verification fails or no key is given.
  -m --remember Remember the given connection key specified by -k|--key when registering to EMS
                   (Optional, will not remember the key by default)
  -d --details Show telemetry details and status

FortiClient (Windows) CLI commands

FortiClient (Windows) CLI commands

FortiClient supports the following CLI installation options with FortiESNAC.exe for endpoint control:

Usage:
c:\Program Files\Fortinet\FortiClient\FortiESNAC.exe -r|--register <address/invitation> [-p|--port <port>] [-v|--vdom <site>]
c:\Program Files\Fortinet\FortiClient\FortiESNAC.exe -u|--unregister
c:\Program Files\Fortinet\FortiClient\FortiESNAC.exe -d|--details

Options:
  -h --help Show the help screen
  -r --register Register using an EMS address or an invitation code
  -p --port EMS port, ignored if registering by invitation code (Optional, 8013 by default)
  -v --vdom EMS site, ignored if registering by invitation code (Optional, "Default" by default)
  -u --unregister Unregister from the current EMS
  -k --key Key for registering/deregistering from EMS if required.
                   Will prompt for user input if key verification fails or no key is given.
  -m --remember Remember the given connection key specified by -k|--key when registering to EMS
                   (Optional, will not remember the key by default)
  -d --details Show telemetry details and status