#Forticlient #CLI

When I implemented for Windows and macOS via #BigFix and #Jamf respectively, the command needed to be run as the logged in user.

#Windows

```
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
```

Source: https://docs.fortinet.com/document/forticlient/7.2.0/administration-guide/95591/fortiesnac-cli-commands

#Linux

```
/opt/forticlient/epctrl -r|--register <address> [-p|--port ] [-s|--site]
/opt/forticlient/epctrl -c|--cloud <invitation code>
/opt/forticlient/epctrl -u|--unregister
```

Source: https://docs.fortinet.com/document/forticlient/7.0.5/administration-guide/41299/appendix-e-forticlient-linux-cli-commands

#macOS

```
/Library/Application\ Support/Fortinet/FortiClient/bin/epctrl -r|--register <address> [-p|--port ] [-s|--site]
/Library/Application\ Support/Fortinet/FortiClient/bin/epctrl -c|--cloud <invitation code>
/Library/Application\ Support/Fortinet/FortiClient/bin/epctrl -u|--unregister
```

Extrapolated from Linux commands. Not documented and probably not supported. Registering to and unregistering from a #FortiEMS server worked.

#CommandLine #EndpointManagement

FortiESNAC CLI commands | Administration Guide

Estamos implantando el #FortiEMS y el #EndpointManager… verás el caos con los empleados 😂😂