I am monitoring those service in SAM using WMI and yes, I am using out-of-the-box "Restart a service" alert using "APM\APMServiceControl.exe ${ComponentID} -c=RESTART".
This is working fine for me when I try to restart the Service on Servers, which are on same domain as Solarwinds monitoring is.