Since services are not handled directly by KiX it becomes a matter of preference. Use whatever works best for you, be it SC, XNET, WMI, or ADSI. Whatever method you choose, won't fix your internet connection issues while running the script remotely.