Hi mate,
I had the need to backup some firewall configuration.
I know that there are several ways to do it last but not least FortiManager but..........
Had to do it periodically and for several devices.
I used one the several external module that you can find on the web
(http://www.powershellmagazine.com/2014/07/03/posh-ssh-open-source-ssh-powershell-module/)