I was preparing a script that can achieve three points about print spooler service. I have scripts for each of the items in the bullet point below, but I would like to combine all three steps into one script. Could some help to correct it please ? Thanks in advance !
• The script should verify the list of servers and provide the report, so I can identify which are holding printers/print server.
• Remaining servers, I need to stop and disable the spooler service
Final report of status of service.