I am having some problems in writing a vbscript for finding the status of a service in a list of machines provided in a txt file. The service name is "SMS Agent Host Service". I tried to import the machine names from the txt file and export the result in a spreadsheet, in 2 columns - Machine Name and Service Status.
Can anyone please help me out here with a vbscript to do the above ?
Can anyone please help me out here with a vbscript to do the above ?