Wohoo! No need to ssh to each host to configure sut any longer. HPE finally implemented sut to be configured via PowerCLI even though it´s somewhat annoying how it is implemented.
Anyhow, starting with sut 2.8 you can now set the sut mode without SSH using this command, there even was a 2.7 version with sutesxcli package that seemed to work as well.
$esxcli = get-esxcli -v2 -VMHost YourHost.domain
$esxcli.sut.mode.set.Invoke(@{mode="autodeployreboot"})
The sut element provides even more options
PS C:\> $esxcli.sut
==================
EsxCliElement: sut
Elements:
---------
ilocreds
iloqueuedupdates
mode
pollingintervalinminutes
stagingdirectory
Method Elements:
---------
clearilocreds
deregister
export
import
start
stop
Methods:
--------
string Help()
With this you can now use OneView or iLO Amplifier Pack to automatically deploy firmware when a host enters maintenance mode.
Hope it helps.